Commit de8c1a6
committed
Fixed: Show
In this stuck state which may happen after app updates or if app process gets killed without being restarted by Android, the widgets must be refreshed by starting the Termux:Widget app or with the refresh button in the main activity.
If the widget was successfully refreshed/updated and shortcuts directory was empty, only then the `No files in ~/.shortcuts/` message will be shown.Open Termux:Widget app to refresh widget message instead of No files in ~/.shortcuts/ message when initial layout of widget is being shown so that it is not confused with shortcuts directory being empty1 parent d4cfdb2 commit de8c1a6
File tree
3 files changed
+3
-1
lines changed- app/src/main
- java/com/termux/widget
- res
- layout
- values
3 files changed
+3
-1
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
0 commit comments