diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-08-21 00:33:01 +0200 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-08-21 02:01:59 +0200 |
commit | 8ebc24a5ba1c87cb5cb14fbaff3bee329e30fc15 (patch) | |
tree | 2ea323c637ef371d4bdfc9ccc69460147dd1597b /subprojects/frontend/src/index.tsx | |
parent | feat(frontend): try to match OS theme (diff) | |
download | refinery-8ebc24a5ba1c87cb5cb14fbaff3bee329e30fc15.tar.gz refinery-8ebc24a5ba1c87cb5cb14fbaff3bee329e30fc15.tar.zst refinery-8ebc24a5ba1c87cb5cb14fbaff3bee329e30fc15.zip |
feat(frontend): overlay window controls
Might need manual intervention in browsers, e.g.
https://docs.microsoft.com/en-us/microsoft-edge/progressive-web-apps-chromium/how-to/window-controls-overlay#enable-the-window-controls-overlay-api-in-microsoft-edge
Diffstat (limited to 'subprojects/frontend/src/index.tsx')
-rw-r--r-- | subprojects/frontend/src/index.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/subprojects/frontend/src/index.tsx b/subprojects/frontend/src/index.tsx index a65821ef..460f6f77 100644 --- a/subprojects/frontend/src/index.tsx +++ b/subprojects/frontend/src/index.tsx | |||
@@ -6,6 +6,7 @@ import { createRoot } from 'react-dom/client'; | |||
6 | import Loading from './Loading'; | 6 | import Loading from './Loading'; |
7 | import RegisterServiceWorker from './RegisterServiceWorker'; | 7 | import RegisterServiceWorker from './RegisterServiceWorker'; |
8 | import RootStore, { RootStoreProvider } from './RootStore'; | 8 | import RootStore, { RootStoreProvider } from './RootStore'; |
9 | import WindowControlsOverlayColor from './WindowControlsOverlayColor'; | ||
9 | import ThemeProvider from './theme/ThemeProvider'; | 10 | import ThemeProvider from './theme/ThemeProvider'; |
10 | import getLogger from './utils/getLogger'; | 11 | import getLogger from './utils/getLogger'; |
11 | 12 | ||
@@ -67,6 +68,7 @@ const app = ( | |||
67 | <RootStoreProvider rootStore={rootStore}> | 68 | <RootStoreProvider rootStore={rootStore}> |
68 | <ThemeProvider> | 69 | <ThemeProvider> |
69 | <CssBaseline enableColorScheme /> | 70 | <CssBaseline enableColorScheme /> |
71 | <WindowControlsOverlayColor /> | ||
70 | <SnackbarProvider> | 72 | <SnackbarProvider> |
71 | <RegisterServiceWorker /> | 73 | <RegisterServiceWorker /> |
72 | <Suspense fallback={<Loading />}> | 74 | <Suspense fallback={<Loading />}> |