Reimplement swipe to exit sidepane via DragHandler

This commit is contained in:
miruka
2021-01-15 14:46:44 -04:00
parent 7029148c87
commit e4959f503c
3 changed files with 66 additions and 1 deletions

View File

@@ -96,7 +96,12 @@ MultiviewPane {
onAboutToRecycle: roomPane.swipeView.currentIndex = 0
}
MemberView {}
MemberView {
HDrawerSwipeHandler {
drawer: roomPane
onCloseRequest: roomPane.toggleFocus()
}
}
SettingsView {
enabled: accountModel.presence !== "offline"