Commit 6bbb41e
committed
fix: show "Loading note…" in single-note widget on boot instead of "Note not found"
Before this change, the placeholder text was always "Note not found", even when the
widget was still connecting to its data service on initial phone start. The default
layout text now reads "Loading note…" and is only swapped to "Note not found" once
onDataSetChanged() has confirmed the note is genuinely absent from the database.
Fixes #1611
AI-assisted: Claude Code (Sonnet 4.6)
Signed-off-by: Jan C. Borchardt <925062+jancborchardt@users.noreply.github.com>1 parent a44c508 commit 6bbb41e
2 files changed
Lines changed: 8 additions & 2 deletions
File tree
- app/src/main
- java/it/niedermann/owncloud/notes/widget/singlenote
- res/values
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
58 | 64 | | |
59 | 65 | | |
60 | 66 | | |
| |||
110 | 116 | | |
111 | 117 | | |
112 | 118 | | |
113 | | - | |
114 | 119 | | |
115 | 120 | | |
116 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
| 245 | + | |
245 | 246 | | |
246 | 247 | | |
247 | 248 | | |
| |||
0 commit comments