Skip to content

Commit

Permalink
fix: schema version bump, outdated key reset
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenyyk committed Jan 30, 2025
1 parent d0c7122 commit 22806ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export function bindPref(
* @param prefs the GSettings object to clean.
*/
function resetOutdated(prefs: Gio.Settings) {
const lastVersion = 6;
const lastVersion = 7;
const currentVersion = prefs
.get_user_value('settings-version')
?.recursiveUnpack();
Expand All @@ -133,6 +133,7 @@ function resetOutdated(prefs: Gio.Settings) {
}
prefs.reset('global-rounded-corner-settings');
prefs.reset('custom-rounded-corner-settings');
prefs.reset('border-color');
prefs.reset('focused-shadow');
prefs.reset('unfocused-shadow');
prefs.set_uint('settings-version', lastVersion);
Expand Down

0 comments on commit 22806ad

Please sign in to comment.