For the "Activity" type activities, displayPath contains the file name
which is also in the subject. This was redundant, so now we don't
display an info line at all for that type of activities.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
\r
Text {\r
id: activityTextInfo\r
- text: (type === "Activity" || type === "Sync") ? displayPath\r
+ text: (type === "Sync") ? displayPath\r
: (type === "File") ? subject\r
- : message\r
+ : (type === "Notification") ? message\r
+ : ""\r
height: (text === "") ? 0 : activityTextTitle.height\r
width: Style.activityLabelBaseWidth + ((path === "") ? activityItem.height : 0) + ((link === "") ? activityItem.height : 0) - 8\r
elide: Text.ElideRight\r