1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

bar ipc change from show to reveal

This commit is contained in:
bbedward
2025-09-04 15:53:54 -04:00
parent e64124cce3
commit 3c3cffd7b6
6 changed files with 17 additions and 23 deletions

View File

@@ -1060,22 +1060,22 @@ Singleton {
}
IpcHandler {
function show() {
function reveal(): string {
root.setTopBarVisible(true)
return "BAR_SHOW_SUCCESS"
}
function hide() {
function hide(): string {
root.setTopBarVisible(false)
return "BAR_HIDE_SUCCESS"
}
function toggle() {
function toggle(): string {
root.toggleTopBarVisible()
return topBarVisible ? "BAR_SHOW_SUCCESS" : "BAR_HIDE_SUCCESS"
}
function status() {
function status(): string {
return topBarVisible ? "visible" : "hidden"
}