mirror of
				https://gitlab.com/famedly/fluffychat.git
				synced 2025-11-04 14:27:23 +01:00 
			
		
		
		
	fix: missing null check
This commit is contained in:
		
							parent
							
								
									bfb55b4525
								
							
						
					
					
						commit
						e3e815ecf0
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user