|
|
|
@ -6,27 +6,16 @@ import { AppRegistry } from 'react-native';
|
|
|
|
|
import App from './src/App'; |
|
|
|
|
import { name as appName } from './app.json'; |
|
|
|
|
import { LogBox } from 'react-native'; |
|
|
|
|
import { MD3LightTheme, PaperProvider, useTheme } from 'react-native-paper'; |
|
|
|
|
import { PaperProvider, useTheme } from 'react-native-paper'; |
|
|
|
|
|
|
|
|
|
LogBox.ignoreLogs(['Warning: Failed prop type: Invalid prop `role`']); // Ignore log notification by message
|
|
|
|
|
LogBox.ignoreAllLogs(); |
|
|
|
|
|
|
|
|
|
const theme = { |
|
|
|
|
...MD3LightTheme, |
|
|
|
|
roundness: 2, |
|
|
|
|
myOwnProperty: true, |
|
|
|
|
colors: { |
|
|
|
|
...MD3LightTheme.colors, |
|
|
|
|
primary: '#303F9F', |
|
|
|
|
secondary: '#5E5C71', |
|
|
|
|
tertiary: '#EF6262', |
|
|
|
|
danger: '#EF6262', |
|
|
|
|
}, |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default function Main() { |
|
|
|
|
return ( |
|
|
|
|
<PaperProvider theme={theme}> |
|
|
|
|
<PaperProvider> |
|
|
|
|
<App /> |
|
|
|
|
</PaperProvider> |
|
|
|
|
); |
|
|
|
|