display subject when we have sync issues like network errors
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Tue, 6 Jun 2023 08:47:47 +0000 (10:47 +0200)
committerMatthieu Gallien <matthieu_gallien@yahoo.fr>
Thu, 8 Jun 2023 06:55:32 +0000 (08:55 +0200)
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/gui/tray/ActivityItemContent.qml

index 81823e23e9187e95dffa7b995f7c81e6c8a8f48e..b5a55f7c60945d7b803a96aca4ae2cb1814eec11 100644 (file)
@@ -221,7 +221,7 @@ RowLayout {
                 Layout.fillHeight: true
                 Layout.alignment: Qt.AlignTop | Qt.AlignLeft
 
-                text: (root.activityData.type === "Sync") ? root.activityData.displayPath
+                text: (root.activityData.type === "Sync") ? root.activityData.subject
                                                           : (root.activityData.type === "File") ? root.activityData.subject
                                                                                                 : (root.activityData.type === "Notification") ? root.activityData.message
                                                                                                                                               : ""