mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +02:00
Don't call hide/createWinId just to call show right after that in Window::Notifications::Default::HideAllButton
This commit is contained in:
parent
671a15d763
commit
490ec7949f
1 changed files with 0 additions and 2 deletions
|
@ -1231,8 +1231,6 @@ HideAllButton::HideAllButton(
|
|||
|
||||
auto position = computePosition(st::notifyHideAllHeight);
|
||||
updateGeometry(position.x(), position.y(), st::notifyWidth, st::notifyHideAllHeight);
|
||||
hide();
|
||||
createWinId();
|
||||
|
||||
style::PaletteChanged(
|
||||
) | rpl::start_with_next([=] {
|
||||
|
|
Loading…
Add table
Reference in a new issue