mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 14:36:01 +03:00
Merge pull request #5097 from nextcloud/bugfix/sync-now-visible-connected
Only show Sync Now button if account is connected
This commit is contained in:
commit
09c6f5a115
1 changed files with 3 additions and 1 deletions
|
@ -116,7 +116,9 @@ RowLayout {
|
|||
bold: true
|
||||
bgColor: Style.currentUserHeaderColor
|
||||
|
||||
visible: !syncStatus.syncing && NC.UserModel.currentUser.hasLocalFolder
|
||||
visible: !syncStatus.syncing &&
|
||||
NC.UserModel.currentUser.hasLocalFolder &&
|
||||
NC.UserModel.currentUser.isConnected
|
||||
enabled: visible
|
||||
onClicked: {
|
||||
if(!syncStatus.syncing) {
|
||||
|
|
Loading…
Reference in a new issue