Fix custom status duration edit from Settings.

This commit is contained in:
John Preston 2022-09-12 09:51:55 +04:00
parent ffaeb239f0
commit 26c79939e0

View file

@ -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 });
}));