Commit aae9486
Rob
fix(ui): swap to androidx.lifecycle.compose.LocalLifecycleOwner
androidx.compose.ui.platform.LocalLifecycleOwner was removed from
compose-ui:1.11.x (used by compose-bom:2026.05.00). Source artifacts
no longer ship the symbol, so the import resolves to nothing in
release builds and bindToLifecycle() receives null during AndroidView
measure, crashing the app on opening the Sensors menu or Expressive
Settings.
Move both call sites (InlineQrScannerCard, ExpressiveSettingsScreen)
to androidx.lifecycle.compose.LocalLifecycleOwner, which is the
canonical provider shipped via lifecycle-runtime-compose:2.10.0
(already on the classpath) and is what every other screen in the
app uses.1 parent bb69d27 commit aae9486
3 files changed
Lines changed: 4 additions & 4 deletions
File tree
- Common
- src/mobile/java/tk/glucodata/ui
- setup
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
| 92 | + | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments