Skip to content

Commit

Permalink
fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
JGreenlee committed Sep 19, 2024
1 parent 8740062 commit f671e04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions www/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ deviceReady.then(() => {
const reactRoot = createRoot(rootEl);

const theme = getTheme();
/* Set Cordova StatusBar color to match the "elevated" AppBar
/* Set Cordova StatusBar color to match the "elevated" AppBar
https://cordova.apache.org/docs/en/10.x/reference/cordova-plugin-statusbar/#statusbarbackgroundcolorbyhexstring
https://callstack.github.io/react-native-paper/docs/components/Appbar/#theme-colors */
if (window['StatusBar']) {
if (window['StatusBar']) {
window['StatusBar'].backgroundColorByHexString(theme.colors.elevation.level2);
}
}

reactRoot.render(
<PaperProvider theme={theme}>
Expand Down

0 comments on commit f671e04

Please sign in to comment.