mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Hide mark as read button in notifications when app is pass-code locked
This commit is contained in:
@@ -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"));
|
||||
|
Reference in New Issue
Block a user