Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Cambra <claudio.cambra@gmail.com>2022-10-12 13:00:10 +0300
committerGitHub <noreply@github.com>2022-10-12 13:00:10 +0300
commit0208bc86bcb23249a988d3ad6bc01eaedbf13e95 (patch)
tree1578e5f859b99fcf7b4d9962f8571f52b9577aa8
parent002b5ee21df3a55bf9523b55721a8f2fa5c46388 (diff)
parent924d5df3c43eb13fe6c45d68dbd74e084753d4ed (diff)
Merge pull request #5012 from nextcloud/bugfix/offline-user-status
Fix invisible user status selector button not being checked when user is in Offline mode
-rw-r--r--src/gui/UserStatusSelector.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/UserStatusSelector.qml b/src/gui/UserStatusSelector.qml
index e7c40e446..489814956 100644
--- a/src/gui/UserStatusSelector.qml
+++ b/src/gui/UserStatusSelector.qml
@@ -92,7 +92,8 @@ ColumnLayout {
Component.onCompleted: topButtonsLayout.updateMaxButtonHeight(implicitHeight)
}
UserStatusSelectorButton {
- checked: userStatusSelectorModel.onlineStatus === NC.UserStatus.Invisible
+ checked: userStatusSelectorModel.onlineStatus === NC.UserStatus.Invisible ||
+ userStatusSelectorModel.onlineStatus === NC.UserStatus.Offline
checkable: true
icon.source: userStatusSelectorModel.invisibleIcon
icon.color: "transparent"