mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Fix setting application icon in Linux notifications
This commit is contained in:
parent
e2f17f1131
commit
b1e64419a5
1 changed files with 3 additions and 3 deletions
|
@ -436,9 +436,9 @@ void NotificationData::show() {
|
|||
const auto weak = base::make_weak(this);
|
||||
StartServiceAsync(_proxy.get_connection(), crl::guard(weak, [=] {
|
||||
const auto iconName = _imageKey.empty()
|
||||
|| _hints.lookup_value(_imageKey)
|
||||
? std::string()
|
||||
: base::IconName().toStdString();
|
||||
|| !_hints.lookup_value(_imageKey)
|
||||
? base::IconName().toStdString()
|
||||
: std::string();
|
||||
|
||||
auto actions = _actions
|
||||
| ranges::views::transform(&std::string::c_str)
|
||||
|
|
Loading…
Add table
Reference in a new issue