mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 15:47:11 +02:00
Hide mark as read button in notifications when app is pass-code locked
This commit is contained in:
parent
0179a2ca10
commit
4033a091b5
1 changed files with 4 additions and 2 deletions
|
@ -307,8 +307,10 @@ NotificationData::NotificationData(
|
|||
_actions.push_back(qsl("default"));
|
||||
_actions.push_back(QString());
|
||||
|
||||
_actions.push_back(qsl("mail-mark-read"));
|
||||
_actions.push_back(tr::lng_context_mark_read(tr::now));
|
||||
if (!hideReplyButton) {
|
||||
_actions.push_back(qsl("mail-mark-read"));
|
||||
_actions.push_back(tr::lng_context_mark_read(tr::now));
|
||||
}
|
||||
|
||||
if (capabilities.contains(qsl("inline-reply")) && !hideReplyButton) {
|
||||
_actions.push_back(qsl("inline-reply"));
|
||||
|
|
Loading…
Add table
Reference in a new issue