Skip to content

Commit

Permalink
fix(HW-762): Reset pin fix (#2116)
Browse files Browse the repository at this point in the history
* fix(HW-762): Reset pin fix

* up app version

* chore: index.js sugar (#2118)

* chore: Upgrade sentry packages (#2119)

* chore: Upgrade sentry packages

* fix yarn.lock

* pod update

* Update Podfile

* fix: getsentry/sentry-react-native#4095

---------

Co-authored-by: iGroza <xneonxneon1@gmail.com>
Co-authored-by: Kirill Ageychenko <iGroza@users.noreply.github.com>

* feat: reset wallet when keychain broken (#2121)

Co-authored-by: iGroza <xneonxneon1@gmail.com>

* chore(HW-771): update fastlane (#2122)

Co-authored-by: iGroza <xneonxneon1@gmail.com>

---------

Co-authored-by: iGroza <xneonxneon1@gmail.com>
Co-authored-by: Kirill Ageychenko <iGroza@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 7, 2024
1 parent ec35327 commit 34da72d
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/screens/RootStack/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,11 @@ type Props = {
};

const RootStack = memo(({onboarded, isPinReseted, isReady}: Props) => {
if (!isReady) {
return <ModalsScreen initialModal={{type: 'splash'}} />;
}

return (
<View style={styles.container}>
{onboarded && !isPinReseted && <HomeStack />}
{!(onboarded && !isPinReseted) && <WelcomeStack />}
{onboarded && !isPinReseted ? <HomeStack /> : <WelcomeStack />}
<ModalProvider>
<ModalsScreen />
<ModalsScreen initialModal={!isReady ? {type: 'splash'} : undefined} />
</ModalProvider>
</View>
);
Expand Down

0 comments on commit 34da72d

Please sign in to comment.