Browse Source

DMs: maybe fix sorting bug

Changlog-Fixed: Potential fix for DM sorting issue
post-button-style
William Casarin 2 years ago
parent
commit
696d341f79
  1. 2
      damus/Models/HomeModel.swift

2
damus/Models/HomeModel.swift

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

Loading…
Cancel
Save