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
path: root/src
diff options
context:
space:
mode:
authorCamila <hello@camila.codes>2022-09-20 19:53:55 +0300
committerCamila <hello@camila.codes>2022-09-20 19:56:31 +0300
commit7db68ad2c5736d632e3da3d5ec716219499cda01 (patch)
treed0f2396997f6f6a0e6c0290f6db0a65efe1721bd /src
parent70a6588e45a3b0a951cf311d9ee1cde64f890af4 (diff)
Fix two factor auth notification: activity item was disabled.bugfix/two-factor-notification-links
User couldn't click on the links. Signed-off-by: Camila <hello@camila.codes>
Diffstat (limited to 'src')
-rw-r--r--src/gui/tray/ActivityItem.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/tray/ActivityItem.qml b/src/gui/tray/ActivityItem.qml
index 72d3311f0..4c5214762 100644
--- a/src/gui/tray/ActivityItem.qml
+++ b/src/gui/tray/ActivityItem.qml
@@ -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