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

+2
View File
@@ -2133,6 +2133,8 @@ class MeshCoreConnector extends ChangeNotifier {
notifyListeners();
}
Future<void> reloadChannelOrder() => _loadChannelOrder();
/// History is stored by channel ID, so it may carry the slot the channel
/// sat in when it was saved; rebind it to the slot it is shown in now.
List<ChannelMessage> _bindToSlot(List<ChannelMessage> messages, int slot) => [