Commit 06d1091
fix(geofence): gate foreign-geofence Edit on connection; test cleanup
Address CodeRabbit review on #6117:
- WaypointInfoDialog's Edit button now requires `isConnected` in both map
flavors — editing a foreign geofence re-broadcasts it, which needs a live
connection, so the affordance is hidden when offline.
- MeshDataHandlerTest uses FakeNotificationPrefs instead of a hand-stubbed mock.
- Add a NotificationPrefs test for retoggle-refreshes-eviction-order on the
capped opt-in set.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 28195a5 commit 06d1091
4 files changed
Lines changed: 26 additions & 9 deletions
File tree
- androidApp/src
- fdroid/kotlin/org/meshtastic/app/map
- google/kotlin/org/meshtastic/app/map
- core
- data/src/commonTest/kotlin/org/meshtastic/core/data/manager
- prefs/src/commonTest/kotlin/org/meshtastic/core/prefs/notification
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
833 | 833 | | |
834 | 834 | | |
835 | 835 | | |
836 | | - | |
| 836 | + | |
| 837 | + | |
837 | 838 | | |
838 | | - | |
| 839 | + | |
839 | 840 | | |
840 | 841 | | |
841 | 842 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
731 | 731 | | |
732 | 732 | | |
733 | 733 | | |
734 | | - | |
| 734 | + | |
| 735 | + | |
735 | 736 | | |
736 | | - | |
| 737 | + | |
737 | 738 | | |
738 | 739 | | |
739 | 740 | | |
| |||
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
| 151 | + | |
155 | 152 | | |
156 | 153 | | |
157 | 154 | | |
| |||
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
119 | 137 | | |
0 commit comments