&& UserModel.currentUser.serverHasUserStatus\r
width: Style.accountAvatarStateIndicatorSize + + Style.trayFolderStatusIndicatorSizeOffset\r
height: width\r
+ color: trayWindowHeaderBackground.color\r
anchors.bottom: currentAccountAvatar.bottom\r
anchors.right: currentAccountAvatar.right\r
radius: width * Style.trayFolderStatusIndicatorRadiusFactor\r
\r
visible: currentUser.hasLocalFolder\r
currentUser: UserModel.currentUser\r
+ parentBackgroundColor: trayWindowHeaderBackground.color\r
\r
onClicked: openLocalFolderButton.userHasGroupFolders ? openLocalFolderButton.toggleMenuOpen() : UserModel.openCurrentAccountLocalFolder()\r
\r
required property var currentUser
property bool userHasGroupFolders: currentUser.groupFolders.length > 0
+ property color parentBackgroundColor: "transparent"
function openMenu() {
foldersMenuLoader.openMenu()
id: folderStateIndicatorBackground
width: Style.folderStateIndicatorSize + Style.trayFolderStatusIndicatorSizeOffset
height: width
+ color: root.parentBackgroundColor
anchors.centerIn: parent
radius: width * Style.trayFolderStatusIndicatorRadiusFactor
z: -2