Fix setting application icon in Linux notifications

This commit is contained in:
Ilya Fedin 2024-04-25 11:21:58 +04:00 committed by John Preston
parent e2f17f1131
commit b1e64419a5
1 changed files with 3 additions and 3 deletions

View File

@ -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)