mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Add logging of PickMuteBox invocation.
This commit is contained in:
parent
a5c12065af
commit
2529bd3f44
1 changed files with 5 additions and 1 deletions
|
@ -282,9 +282,13 @@ void FillMuteMenu(
|
||||||
menu->addAction(std::move(item));
|
menu->addAction(std::move(item));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const auto callback = [=, show = args.show] {
|
||||||
|
DEBUG_LOG(("Mute Info: PickMuteBox called."));
|
||||||
|
show->showBox(Box(PickMuteBox, peer));
|
||||||
|
};
|
||||||
menu->addAction(
|
menu->addAction(
|
||||||
tr::lng_mute_menu_duration(tr::now),
|
tr::lng_mute_menu_duration(tr::now),
|
||||||
[=, show = args.show] { show->showBox(Box(PickMuteBox, peer)); },
|
callback,
|
||||||
&st::menuIconMuteFor);
|
&st::menuIconMuteFor);
|
||||||
|
|
||||||
menu->addAction(
|
menu->addAction(
|
||||||
|
|
Loading…
Add table
Reference in a new issue