Use the durable Home reset boundary

This commit is contained in:
Gabriel Brown
2026-08-18 01:39:34 -04:00
parent 1b323c2fa5
commit 787d2b121a
2 changed files with 10 additions and 6 deletions
@@ -396,12 +396,9 @@ Singleton {
// that only cleared the schema store would silently leave a customised
// favourites list behind while claiming to restore Panama's defaults.
//
// Done through HomePreferences' public writable aliases rather than a
// reset function of its own: clearing `favorites` and returning
// `initialized` to false is exactly the state a fresh install has, and
// it lets initialize() seed the list again on next use.
HomePreferences.favorites = [];
HomePreferences.initialized = false;
// HomePreferences owns the write-through boundary so the state file is
// rewritten before this reset can be considered complete.
HomePreferences.resetHomeDefaults();
resettleTimer.restart();
}