Fix list ordering and long-list scrolling
- Sort channels by latest message and contacts by recent message using local arrival time instead of the sender's clock. - Contacts added from a card sort by when they were added until the radio hears an advert (app-side only; lastAdvert stays 0). - Stop entrance animations on rows scrolled into view and reuse unchanged contact rows across connector updates.
This commit is contained in:
1 parent
34ea0cb7ca
commit
316088dfd6
35 files changed
+1357
-43
No files matched your search
@@ -23,6 +23,7 @@ const String _encryptedBackupFormat = 'meshcore-open-encrypted-backup';
|
||||
const List<String> _contactPreferencePrefixes = [
|
||||
'contacts',
|
||||
'contact_groups',
|
||||
'contact_added_at_',
|
||||
'contact_smaz_',
|
||||
'contact_cyr2lat_',
|
||||
'contact_url_images_',
|
||||
@@ -1094,7 +1095,8 @@ class BackupService {
|
||||
return true;
|
||||
}
|
||||
if (items.contains(BackupItem.contacts) &&
|
||||
key.startsWith('contacts$devicePrefix')) {
|
||||
(key.startsWith('contacts$devicePrefix') ||
|
||||
key.startsWith('contact_added_at_$devicePrefix'))) {
|
||||
return true;
|
||||
}
|
||||
if (items.contains(BackupItem.perContactSettings) &&
|
||||
|
||||
Reference in new issue
Block a user