Save/load which accounts are collapsed
This commit is contained in:
@@ -12,6 +12,15 @@ Column {
|
||||
property var userInfo: users.find(model.userId)
|
||||
property bool expanded: true
|
||||
|
||||
Component.onCompleted: {
|
||||
expanded = ! window.uiState.collapseAccounts[model.userId]
|
||||
}
|
||||
|
||||
onExpandedChanged: {
|
||||
window.uiState.collapseAccounts[model.userId] = ! expanded
|
||||
window.uiStateChanged()
|
||||
}
|
||||
|
||||
HInteractiveRectangle {
|
||||
width: parent.width
|
||||
height: childrenRect.height
|
||||
|
Reference in New Issue
Block a user