mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-22 04:21:44 +00:00
parent
c1872b4e1d
commit
eeb77aeb51
@ -12,6 +12,8 @@ import utils 1.0
|
||||
|
||||
import "../controls"
|
||||
|
||||
import SortFilterProxyModel 0.2
|
||||
|
||||
Item {
|
||||
id: root
|
||||
anchors.fill: parent
|
||||
@ -50,7 +52,13 @@ Item {
|
||||
bottomMargin: Style.current.bigPadding
|
||||
}
|
||||
|
||||
model: usersModule.model
|
||||
model: SortFilterProxyModel {
|
||||
sourceModel: usersModule.model
|
||||
sorters: StringSorter {
|
||||
roleName: "displayName"
|
||||
caseSensitivity: Qt.CaseInsensitive
|
||||
}
|
||||
}
|
||||
section.property: "onlineStatus"
|
||||
section.delegate: (root.width > 58) ? sectionDelegateComponent : null
|
||||
delegate: StatusMemberListItem {
|
||||
|
Loading…
x
Reference in New Issue
Block a user