2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Moved DBINotifyView to Core::Settings.

This commit is contained in:
23rd
2021-05-27 23:41:48 +03:00
parent 5334372671
commit da3e140069
7 changed files with 42 additions and 34 deletions

View File

@@ -902,7 +902,8 @@ bool Notification::canReply() const {
return !_hideReplyButton
&& (_item != nullptr)
&& !Core::App().passcodeLocked()
&& (Core::App().settings().notifyView() <= dbinvShowPreview);
&& (Core::App().settings().notifyView()
<= Core::Settings::NotifyView::ShowPreview);
}
void Notification::unlinkHistoryInManager() {