'init'
Some checks failed
Upstream Sync / Sync latest commits from upstream repo (push) Has been cancelled
Some checks failed
Upstream Sync / Sync latest commits from upstream repo (push) Has been cancelled
This commit is contained in:
6
mobile/components/useColorScheme.ts
Normal file
6
mobile/components/useColorScheme.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { useColorScheme as useColorSchemeCore } from 'react-native';
|
||||
|
||||
export const useColorScheme = () => {
|
||||
const coreScheme = useColorSchemeCore();
|
||||
return coreScheme === 'unspecified' ? 'light' : coreScheme;
|
||||
};
|
||||
Reference in New Issue
Block a user