mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 13:25:52 +03:00
Merge pull request #2437 from nextcloud/remove_no_description_available_messages_in_activity_list
If there's no description just say nothing
This commit is contained in:
commit
0f2784107c
1 changed files with 0 additions and 3 deletions
|
@ -202,9 +202,6 @@ QVariant ActivityListModel::data(const QModelIndex &index, int role) const
|
|||
case ActionTextColorRole:
|
||||
return a._id == -1 ? QLatin1String("#808080") : QLatin1String("#222"); // FIXME: This is a temporary workaround for _showMoreActivitiesAvailableEntry
|
||||
case MessageRole:
|
||||
if (a._message.isEmpty()) {
|
||||
return QString("No description available.");
|
||||
}
|
||||
return a._message;
|
||||
case LinkRole: {
|
||||
if (a._link.isEmpty()) {
|
||||
|
|
Loading…
Reference in a new issue