mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 07:35:13 +00:00
Merge branch 'soru/fix-devices-page' into 'main'
fix: missing null check Closes #527 See merge request famedly/fluffychat!496
This commit is contained in:
commit
fd4213746d
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ class DevicesSettingsController extends State<DevicesSettings> {
|
|||
|
||||
List<Device> get notThisDevice => List<Device>.from(devices)
|
||||
..removeWhere(_isOwnDevice)
|
||||
..sort((a, b) => b.lastSeenTs.compareTo(a.lastSeenTs));
|
||||
..sort((a, b) => (b.lastSeenTs ?? 0).compareTo(a.lastSeenTs ?? 0));
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => DevicesSettingsView(this);
|
||||
|
|
Loading…
Reference in a new issue