Move revealers access away from base classes

Those should not appear in base classes, as they are available in main app only
This commit is contained in:
Rafał Dzięgiel
2021-09-06 15:27:37 +02:00
parent 873e724bf2
commit 8733610a9b
4 changed files with 27 additions and 19 deletions

View File

@@ -28,4 +28,12 @@ class ClapperHeaderBar extends HeaderBarBase
{
this.root.fullscreen();
}
_onIconThemeChanged(iconTheme)
{
super._onIconThemeChanged(iconTheme);
const { controlsRevealer } = this.root.child;
this._updateFloatIcon(!controlsRevealer.reveal_child);
}
});