mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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);
|
auto position = computePosition(st::notifyHideAllHeight);
|
||||||
updateGeometry(position.x(), position.y(), st::notifyWidth, st::notifyHideAllHeight);
|
updateGeometry(position.x(), position.y(), st::notifyWidth, st::notifyHideAllHeight);
|
||||||
hide();
|
|
||||||
createWinId();
|
|
||||||
|
|
||||||
style::PaletteChanged(
|
style::PaletteChanged(
|
||||||
) | rpl::start_with_next([=] {
|
) | rpl::start_with_next([=] {
|
||||||
|
|
Loading…
Add table
Reference in a new issue