Skip to content

Commit

Permalink
fixup! feat(suite-native): offline header shows that app is offline
Browse files Browse the repository at this point in the history
  • Loading branch information
vytick committed Aug 6, 2024
1 parent 1917271 commit 24861cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions suite-native/connection-status/src/OfflineBanner.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useSafeAreaInsets } from 'react-native-safe-area-context';
import Animated, { SlideInUp, SlideOutUp } from 'react-native-reanimated';
import { View } from 'react-native';

import { Icon } from '@suite-common/icons';
import { Text, HStack } from '@suite-native/atoms';
Expand Down Expand Up @@ -33,13 +33,13 @@ export const OfflineBanner = () => {
}

return (
<Animated.View entering={SlideInUp} exiting={SlideOutUp} style={applyStyle(containerStyle)}>
<View style={applyStyle(containerStyle)}>
<HStack style={applyStyle(contentStyle, { topSafeAreaInset })}>
<Icon name="wifiSlash" size="mediumLarge" />
<Text>
<Translation id="generic.offline" />
</Text>
</HStack>
</Animated.View>
</View>
);
};

0 comments on commit 24861cb

Please sign in to comment.