diff --git a/Telegram/SourceFiles/settings/settings_codes.cpp b/Telegram/SourceFiles/settings/settings_codes.cpp index 3093866b8..d31b828a3 100644 --- a/Telegram/SourceFiles/settings/settings_codes.cpp +++ b/Telegram/SourceFiles/settings/settings_codes.cpp @@ -202,7 +202,7 @@ auto GenerateCodes() { Ui::show( Box( &window->session(), - std::move(Fn())), + Fn()), Ui::LayerOption::KeepOther); });