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 1, 2024
1 parent 4c58f66 commit bbcb365
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions suite-native/app/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import { OfflineHeader } from '@suite-native/connection-status';
import { IntlProvider } from '@suite-native/intl';
import { useTransactionCache } from '@suite-native/accounts';
import { isDebugEnv } from '@suite-native/config';
import { selectIsOnboardingFinished } from '@suite-native/settings';

import { RootStackNavigator } from './navigation/RootStackNavigator';
import { StylesProvider } from './StylesProvider';
Expand All @@ -41,7 +40,6 @@ const AppComponent = () => {
const formattersConfig = useFormattersConfig();
const isAppReady = useSelector(selectIsAppReady);
const isConnectInitialized = useSelector(selectIsConnectInitialized);
const isOnboardingFinished = useSelector(selectIsOnboardingFinished);

useReportAppInitToAnalytics(APP_STARTED_TIMESTAMP);
useTransactionCache();
Expand All @@ -62,7 +60,7 @@ const AppComponent = () => {

return (
<FormatterProvider config={formattersConfig}>
{isOnboardingFinished && <OfflineHeader />}
<OfflineHeader />
<MessageSystemBannerRenderer />
<RootStackNavigator />
<ModalsRenderer />
Expand Down

0 comments on commit bbcb365

Please sign in to comment.