DMs: maybe fix sorting bug

Changlog-Fixed: Potential fix for DM sorting issue
This commit is contained in:
William Casarin
2023-01-01 09:37:31 -08:00
parent 500845f619
commit 696d341f79

View File

@@ -423,7 +423,7 @@ class HomeModel: ObservableObject {
if a.1.events.count > 0 && b.1.events.count > 0 {
return a.1.events.last!.created_at > b.1.events.last!.created_at
}
return true
return false
}
}
}