mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-06-29 22:42:11 -04:00
ui: cleanup some anti patterns
This commit is contained in:
@@ -1538,15 +1538,11 @@ BasePill {
|
||||
}
|
||||
}
|
||||
|
||||
function closeWithAction() {
|
||||
close();
|
||||
}
|
||||
|
||||
Timer {
|
||||
id: pendingActionCloseTimer
|
||||
interval: 80
|
||||
repeat: false
|
||||
onTriggered: menuRoot.closeWithAction()
|
||||
onTriggered: menuRoot.close()
|
||||
}
|
||||
|
||||
function showSubMenu(entry) {
|
||||
@@ -1906,7 +1902,7 @@ BasePill {
|
||||
} else {
|
||||
SessionData.hideTrayId(itemKey);
|
||||
}
|
||||
menuRoot.closeWithAction();
|
||||
menuRoot.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user