feat(mobile): BootSplash + BootError fallback views for AppBootstrap

This commit is contained in:
byGalax
2026-05-16 16:23:26 +02:00
parent fca5211008
commit 87fed820dc
2 changed files with 73 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import { ActivityIndicator, StyleSheet, View } from 'react-native';
import { colors } from '../theme/colors';
// Shown while AppBootstrap is initialising the crypto backend. Identical
// background to the Expo splash so the handoff is invisible to the user.
export function BootSplash() {
return (
<View style={styles.container}>
<ActivityIndicator color={colors.accent} />
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
backgroundColor: colors.bg,
},
});