mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Fix a crash in non-authorized Settings.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user