Skip to content

Commit

Permalink
Fix two factor auth notification: activity item was disabled.
Browse files Browse the repository at this point in the history
User couldn't click on the links.

Signed-off-by: Camila <hello@camila.codes>
  • Loading branch information
Camila committed Oct 18, 2022
1 parent cae4b45 commit c6fa6cd
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 @@ -19,7 +19,7 @@ MouseArea {
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)
hoverEnabled: true

// We center the children vertically in the middle of this MouseArea to create the padding.
Expand Down

0 comments on commit c6fa6cd

Please sign in to comment.