MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / setUiTheme

Method setUiTheme

src/plugins/system/system.d.ts:259–259  ·  view source on GitHub ↗

* Sets the color of status bar and navigation bar * @param systemBarColor Color of status bar and navigation bar * @param theme Theme as object * @param onSuccess Callback on success * @param onFail Callback on fail

(
    systemBarColor: string,
    theme: object,
    onSuccess: OnSuccessBool,
    onFail: OnFail,
  )

Source from the content-addressed store, hash-verified

257 * @param onFail Callback on fail
258 */
259 setUiTheme(
260 systemBarColor: string,
261 theme: object,
262 onSuccess: OnSuccessBool,

Callers 2

applyFunction · 0.65
restoreThemeFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected