mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix custom status duration edit from Settings.
This commit is contained in:
parent
ffaeb239f0
commit
26c79939e0
1 changed files with 1 additions and 0 deletions
|
@ -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 });
|
||||
}));
|
||||
|
|
Loading…
Add table
Reference in a new issue