mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 10:26:35 +00:00
fix(iOS): rewrite status-bar style js code by clojurescript code
Javascript code only works in development mode.
This commit is contained in:
@@ -295,19 +295,3 @@ export const nodePath = Object.assign({}, path, {
|
||||
return path.extname(input)
|
||||
}
|
||||
})
|
||||
|
||||
export const setStatusBarStyleDark = async () => {
|
||||
await StatusBar.setStyle({ style: Style.Dark });
|
||||
};
|
||||
|
||||
export const setStatusBarStyleLight = async () => {
|
||||
await StatusBar.setStyle({ style: Style.Light });
|
||||
};
|
||||
|
||||
export const hideStatusBar = async () => {
|
||||
await StatusBar.hide();
|
||||
};
|
||||
|
||||
export const showStatusBar = async () => {
|
||||
await StatusBar.show();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user