File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ Template for new versions:
31
31
## New Features
32
32
33
33
## Fixes
34
+ - `gui/notify`: persist notification settings when toggled in the UI
34
35
35
36
## Misc Improvements
36
37
Original file line number Diff line number Diff line change 174
174
function Notify :toggle (_ , choice )
175
175
if not choice then return end
176
176
notifications .config .data [choice .name ].enabled = not choice .enabled
177
+ notifications .config :write ()
177
178
self :refresh ()
178
179
end
179
180
@@ -184,6 +185,7 @@ function Notify:toggle_all()
184
185
for name in pairs (notifications .NOTIFICATIONS_BY_NAME ) do
185
186
notifications .config .data [name ].enabled = target_state
186
187
end
188
+ notifications .config :write ()
187
189
self :refresh ()
188
190
end
189
191
You can’t perform that action at this time.
0 commit comments