Fix backup restore settings and ordering

Apply restored eviction and list sorting settings before reloading data; stabilize the message-filter ingestion test against queued review history.
This commit is contained in:
ericz committed 2026-11-13 19:28:23 +01:00
1 parent c0702806de
commit 37bfdd47fe
7 files changed
+94

No files matched your search

+6
View File
@@ -485,6 +485,12 @@ class BackupService {
);
}
}
if (selectedItems.contains(BackupItem.appSettings)) {
await appSettingsService.loadSettings();
}
if (selectedItems.contains(BackupItem.channelSettings)) {
await connector.reloadChannelOrder();
}
if (!importingIdentity &&
selectedItems.contains(BackupItem.discoveredContacts)) {
await connector.reloadDiscoveredContacts();
+5
View File
@@ -109,6 +109,11 @@ class UiViewStateService extends ChangeNotifier {
}
}
Future<void> reload() async {
await initialize();
notifyListeners();
}
void setContactsSelectedGroupName(String value) {
if (_contactsSelectedGroupName == value) return;
_contactsSelectedGroupName = value;