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