mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +02:00
Fix stickers list display after account switch.
This commit is contained in:
parent
52e780b065
commit
f316d951ae
2 changed files with 3 additions and 0 deletions
|
@ -369,6 +369,7 @@ TabbedSelector::TabbedSelector(
|
||||||
) | rpl::start_with_next([=] {
|
) | rpl::start_with_next([=] {
|
||||||
refreshStickers();
|
refreshStickers();
|
||||||
}, lifetime());
|
}, lifetime());
|
||||||
|
refreshStickers();
|
||||||
}
|
}
|
||||||
//setAttribute(Qt::WA_AcceptTouchEvents);
|
//setAttribute(Qt::WA_AcceptTouchEvents);
|
||||||
setAttribute(Qt::WA_OpaquePaintEvent, false);
|
setAttribute(Qt::WA_OpaquePaintEvent, false);
|
||||||
|
|
|
@ -135,6 +135,8 @@ Session::Session(
|
||||||
saveSettingsDelayed();
|
saveSettingsDelayed();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Storage::Account uses Main::Account::session() in those methods.
|
||||||
|
// So they can't be called during Main::Session construction.
|
||||||
local().readInstalledStickers();
|
local().readInstalledStickers();
|
||||||
local().readFeaturedStickers();
|
local().readFeaturedStickers();
|
||||||
local().readRecentStickers();
|
local().readRecentStickers();
|
||||||
|
|
Loading…
Add table
Reference in a new issue