Fix talk app icon.

Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
Camila Ayres 2024-09-05 20:25:31 +02:00 committed by Matthieu Gallien
parent 6f13fa6269
commit 20ef57c682

View File

@ -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;