Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5887474e authored by Ats Jenk's avatar Ats Jenk
Browse files

Hide desktop space if desktop button is not visible

Bug: 403616647
Flag: EXEMPT trivial bugfix
Test: manual
Change-Id: I8d0682814c98dcd160f962faf9626d403b470493
parent c9ed17d4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -758,6 +758,7 @@ class HandleMenu(
            floatingBtn.isEnabled = !taskInfo.isPinned
            floatingBtn.imageTintList = style.windowingButtonColor
            desktopBtn.isGone = !shouldShowDesktopModeButton
            desktopBtnSpace.isGone = !shouldShowDesktopModeButton
            desktopBtn.isSelected = taskInfo.isFreeform
            desktopBtn.isEnabled = !taskInfo.isFreeform
            desktopBtn.imageTintList = style.windowingButtonColor