MOD: Hide "Edit widgets" when search and apps list is open/shown.
Signed-off-by: Guillermo Villafuerte <gvillafu@comunidad.unam.mx>
This commit is contained in:
parent
79e09c197b
commit
1858c70193
@ -78,7 +78,8 @@ fun RowScope.SearchBarMenu(
|
||||
}
|
||||
)
|
||||
val editButton by widgetsVM.editButton.collectAsState()
|
||||
if (editButton == false) {
|
||||
val searchOpen by launcherVM.isSearchOpen
|
||||
if (!searchOpen && editButton == false) {
|
||||
DropdownMenuItem(
|
||||
onClick = {
|
||||
launcherVM.setWidgetEditMode(editMode = true)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user