2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 06:07:45 +00:00

Fix missing SessionController capture

This commit is contained in:
RadRussianRus 2020-07-02 04:06:20 +03:00
parent 0aa4e3d495
commit f8f70fe828

View File

@ -480,7 +480,7 @@ void SetupKotatoSystem(
)->toggledValue(
) | rpl::filter([](bool enabled) {
return (enabled != cUseTelegramPanelIcon());
}) | rpl::start_with_next([](bool enabled) {
}) | rpl::start_with_next([controller](bool enabled) {
cSetUseTelegramPanelIcon(enabled);
controller->session().data().notifyUnreadBadgeChanged();
::Kotato::JsonSettings::Write();