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:
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user