Display check on the active account.

This commit is contained in:
John Preston
2020-06-23 13:20:38 +04:00
parent 51c2bc7349
commit 34ef54e40b
13 changed files with 91 additions and 27 deletions
-9
View File
@@ -243,15 +243,6 @@ MainWidget::MainWidget(
floatPlayerClosed(itemId);
}, lifetime());
// Load current userpic and keep it loaded.
session().changes().peerFlagsValue(
session().user(),
Data::PeerUpdate::Flag::Photo
) | rpl::start_with_next([=] {
[[maybe_unused]] const auto image = session().user()->currentUserpic(
_selfUserpicView);
}, lifetime());
updateScrollColors();
setupConnectingWidget();