Commit e0ac830
committed
Drop redundant nightTheme writes in Dracula toggle
nightTheme.value (ListPreference.setValue -> persistString) already writes
the same configurationStore key that DataStore.nightTheme (stringToInt ->
putString) uses, and refreshes the picker UI. Remove the duplicate
DataStore.nightTheme assignments in both the force-on and restore branches.
Verified on-device: appTheme persists as 23 (Dracula), nightTheme persists
as a string in the same format; no crash, no resource warnings.
Addresses Greptile P2.1 parent 1bdf253 commit e0ac830
1 file changed
Lines changed: 3 additions & 2 deletions
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
91 | | - | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
0 commit comments