Refactor dimension handling

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2023-07-13 19:03:53 +03:00
parent 703155232d
commit 4128b0df20
17 changed files with 406 additions and 250 deletions

View File

@@ -1,15 +1,15 @@
import React from 'react';
import { ActivityIndicator } from 'react-native';
import { useTheme } from 'react-native-paper';
import PaddedView from './paddedView';
import { RootView } from '.';
const LoadingView = () => {
const { colors } = useTheme();
return (
<PaddedView centered>
<RootView centered>
<ActivityIndicator size="large" color={colors.primary} />
</PaddedView>
</RootView>
);
};