-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature(wallet-mobile): Dapp explorer UI #3189
Conversation
import {useHasWallets} from './yoroi-wallets/hooks' | ||
|
||
const Tab = createBottomTabNavigator<WalletTabRoutes>() | ||
const WalletTabNavigator = () => { | ||
const strings = useStrings() | ||
const {colors} = useStyles() | ||
const wallet = useSelectedWallet() | ||
const initialRoute = isHaskellShelley(wallet.walletImplementationId) ? 'staking-dashboard' : 'history' | ||
const initialRoute = /* isHaskellShelley(wallet.walletImplementationId) ? 'staking-dashboard' :*/ 'history' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can be dropped
@@ -117,7 +115,7 @@ const WalletTabNavigator = () => { | |||
)} | |||
</Tab.Screen> | |||
|
|||
{isHaskellShelley(wallet.walletImplementationId) && ( | |||
{/* {isHaskellShelley(wallet.walletImplementationId) && ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check the feature flag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm guessing these icons are mocked for now, later they will come from the configuration manageR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
@@ -0,0 +1,16 @@ | |||
import React from 'react' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import * React... for all screens
...initialState, | ||
}) | ||
|
||
useEffect(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
React.useEffect
@michaeljscript looks solid, basically some adjust to import react, and consume react hooks with React.use bringing it in, please adjust the feature flag. |
No description provided.