* Extended functionalities
* Added different UIs
This commit is contained in:
6
meal-plan-frontend-mobile/components/useColorScheme.ts
Normal file
6
meal-plan-frontend-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