mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-20 02:28:56 +00:00
parent
781ec30e7f
commit
6339bd5782
@ -12,6 +12,8 @@ import utils 1.0
|
||||
import shared 1.0
|
||||
import shared.popups 1.0
|
||||
|
||||
import SortFilterProxyModel 0.2
|
||||
|
||||
import "../panels"
|
||||
import "../popups"
|
||||
import "../popups/community"
|
||||
@ -146,7 +148,14 @@ Item {
|
||||
StatusChatList {
|
||||
id: channelList
|
||||
width: scroll.availableWidth
|
||||
model: root.chatSectionModule.model
|
||||
model: SortFilterProxyModel {
|
||||
sourceModel: root.chatSectionModule.model
|
||||
sorters: RoleSorter {
|
||||
roleName: "lastMessageTimestamp"
|
||||
sortOrder: Qt.DescendingOrder
|
||||
}
|
||||
}
|
||||
|
||||
highlightItem: !root.store.openCreateChat
|
||||
onChatItemSelected: {
|
||||
Global.closeCreateChatView()
|
||||
|
Loading…
x
Reference in New Issue
Block a user