Fix a crash in non-authorized Settings.

This commit is contained in:
John Preston 2023-01-10 18:41:13 +04:00
parent 12c2e42917
commit 2fda96a375
1 changed files with 0 additions and 1 deletions

View File

@ -748,7 +748,6 @@ void Preview::initAsWindow() {
const auto user = controller
? controller->session().user().get()
: nullptr;
auto view = user->activeUserpicView();
const auto preview = slider->lifetime().make_state<Preview>(
slider.get(),
user ? Data::PeerUserpicImageValue(user, 160, 0) : nullptr);