Skip to content

Commit

Permalink
Merge pull request #4961 from nextcloud/bugfix/two-factor-notificatio…
Browse files Browse the repository at this point in the history
…n-links

Fix two factor auth notification: activity item was disabled.
  • Loading branch information
Camila authored Sep 21, 2022
2 parents 70a6588 + 7db68ad commit c6c49c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/tray/ActivityItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ItemDelegate {
property color adjustedHeaderColor: Theme.darkMode ? Qt.lighter(UserModel.currentUser.headerColor, 2)
: Qt.darker(UserModel.currentUser.headerColor, 1.5)

enabled: (model.path !== "" || model.link !== "" || model.isCurrentUserFileActivity === true)
enabled: (model.path !== "" || model.link !== "" || model.links.length > 0 || model.isCurrentUserFileActivity === true)
padding: Style.standardSpacing

Accessible.role: Accessible.ListItem
Expand Down

0 comments on commit c6c49c8

Please sign in to comment.