mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 22:27:20 +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));
|
||||
}
|
||||
|
||||
const auto callback = [=, show = args.show] {
|
||||
DEBUG_LOG(("Mute Info: PickMuteBox called."));
|
||||
show->showBox(Box(PickMuteBox, peer));
|
||||
};
|
||||
menu->addAction(
|
||||
tr::lng_mute_menu_duration(tr::now),
|
||||
[=, show = args.show] { show->showBox(Box(PickMuteBox, peer)); },
|
||||
callback,
|
||||
&st::menuIconMuteFor);
|
||||
|
||||
menu->addAction(
|
||||
|
|
Loading…
Add table
Reference in a new issue