From 26c79939e0f66a6ab2467b9ec8fb89be33708c21 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 12 Sep 2022 09:51:55 +0400 Subject: [PATCH] Fix custom status duration edit from Settings. --- .../SourceFiles/info/profile/info_profile_emoji_status_panel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/info/profile/info_profile_emoji_status_panel.cpp b/Telegram/SourceFiles/info/profile/info_profile_emoji_status_panel.cpp index ef9ecb605..270972809 100644 --- a/Telegram/SourceFiles/info/profile/info_profile_emoji_status_panel.cpp +++ b/Telegram/SourceFiles/info/profile/info_profile_emoji_status_panel.cpp @@ -286,6 +286,7 @@ void EmojiStatusPanel::create( std::move(emojiChosen) ) | rpl::start_with_next([=](const Chosen chosen) { if (chosen.until == Selector::kPickCustomTimeId) { + _panel->hideAnimated(); controller->show(Box(PickUntilBox, [=](TimeId seconds) { set({ chosen.id, base::unixtime::now() + seconds }); }));