UserInfo compact

Make UserInfo work in compact mode. This includes showing the account switch popup in a dialog

BUG: 482261
This commit is contained in:
James Graham
2024-03-29 09:09:13 +00:00
parent aaa97ec029
commit 158942d1b5
6 changed files with 235 additions and 214 deletions

View File

@@ -264,7 +264,6 @@ Kirigami.Page {
footer: Loader {
width: parent.width
active: !root.collapsed
sourceComponent: Kirigami.Settings.isMobile ? exploreComponentMobile : userInfoDesktop
}
@@ -314,7 +313,6 @@ Kirigami.Page {
Component {
id: userInfo
UserInfo {
visible: !root.collapsed
bottomEdge: false
connection: root.connection
}
@@ -323,8 +321,8 @@ Kirigami.Page {
Component {
id: userInfoDesktop
UserInfoDesktop {
visible: !root.collapsed
connection: root.connection
collapsed: root.collapsed
}
}