Merge remote-tracking branch 'origin/dev' into ez_display_region
# Conflicts: # lib/connector/meshcore_connector.dart # lib/models/channel_message.dart # lib/screens/channel_chat_screen.dart
This commit is contained in:
commit
7134bac7f7
146 files changed
+18000
-3160
No files matched your search
@@ -636,7 +636,8 @@ void main() {
|
||||
test(
|
||||
'ContactDiscoveryStore decodes and migrates legacy mode-encoded paths',
|
||||
() async {
|
||||
final store = ContactDiscoveryStore();
|
||||
final store = ContactDiscoveryStore()
|
||||
..setPublicKeyHex = 'AABBCCDDEEFF00112233';
|
||||
|
||||
final rawPath = Uint8List(64)
|
||||
..[0] = 0x11
|
||||
@@ -661,6 +662,8 @@ void main() {
|
||||
expect(contacts, hasLength(1));
|
||||
expect(contacts.first.pathLength, equals(1));
|
||||
expect(contacts.first.path, equals(Uint8List.fromList([0x11, 0x22])));
|
||||
expect(prefs.getString('discovered_contacts'), isNull);
|
||||
expect(prefs.getString(store.keyFor), isNotNull);
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user