diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-07-18 15:24:37 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-07-18 15:24:37 -0500 |
commit | 1d00f3b9840003601175d5394af34b29222db4e3 (patch) | |
tree | f835e910d5f11b84ce2403e307caea080c34ab79 /src/platform/shell.tsx | |
parent | de87ec17d1673855fdfe2ccd125d734591969dd4 (diff) | |
download | voidsky-1d00f3b9840003601175d5394af34b29222db4e3.tar.zst |
Add mock API and reorg code for clarity
Diffstat (limited to 'src/platform/shell.tsx')
-rw-r--r-- | src/platform/shell.tsx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/platform/shell.tsx b/src/platform/shell.tsx deleted file mode 100644 index ec8d51e1f..000000000 --- a/src/platform/shell.tsx +++ /dev/null @@ -1,12 +0,0 @@ -import React from 'react' -import {SafeAreaView} from 'react-native' -import {isDesktopWeb} from './detection' -import {DesktopWebShell} from './desktop-web/shell' - -export const Shell: React.FC = ({children}) => { - return isDesktopWeb ? ( - <DesktopWebShell>{children}</DesktopWebShell> - ) : ( - <SafeAreaView>{children}</SafeAreaView> - ) -} |