mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Fix talk app icon.
Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
parent
6f13fa6269
commit
20ef57c682
@ -228,7 +228,7 @@ QVariant ActivityListModel::data(const QModelIndex &index, int role) const
|
||||
const auto generateIconPath = [&]() {
|
||||
auto colorIconPath = QStringLiteral("image://svgimage-custom-color/");//role == DarkIconRole ? QStringLiteral("qrc:///client/theme/white/") : QStringLiteral("qrc:///client/theme/black/");
|
||||
if (a._type == Activity::NotificationType && !a._talkNotificationData.userAvatar.isEmpty()) {
|
||||
return QStringLiteral("image://svgimage-custom-color/talk-bordered.svg");
|
||||
return QStringLiteral("image://svgimage-custom-color/talk-app.svg");
|
||||
} else if (a._type == Activity::SyncResultType) {
|
||||
colorIconPath.append("state-error.svg");
|
||||
return colorIconPath;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user