mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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)
|
std::move(emojiChosen)
|
||||||
) | rpl::start_with_next([=](const Chosen chosen) {
|
) | rpl::start_with_next([=](const Chosen chosen) {
|
||||||
if (chosen.until == Selector::kPickCustomTimeId) {
|
if (chosen.until == Selector::kPickCustomTimeId) {
|
||||||
|
_panel->hideAnimated();
|
||||||
controller->show(Box(PickUntilBox, [=](TimeId seconds) {
|
controller->show(Box(PickUntilBox, [=](TimeId seconds) {
|
||||||
set({ chosen.id, base::unixtime::now() + seconds });
|
set({ chosen.id, base::unixtime::now() + seconds });
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Add table
Reference in a new issue