Commit e42333cc authored by Martin Santangelo's avatar Martin Santangelo

(fix) wallet creation button missing and missing vars in store

parent 09f5c6b9
......@@ -41,7 +41,7 @@ export default class BlockchainWalletScreen extends Component {
return {
title: i18n.t('blockchain.walletAddresses'),
headerRight: (
headerRight: () => (
<View style={CommonStyle.rowJustifyStart}>
<Icon
name="add"
......
......@@ -108,7 +108,7 @@ class KeychainService {
throw new Error('E_INVALID_PASSWORD_CHALLENGE_OUTCOME');
}
} else {
secret = await stores.keychain.waitForUnlock(keychain, false);
secret = await getStores().keychain.waitForUnlock(keychain, false);
if (!secret) {
throw new Error('E_INVALID_SECRET');
......
......@@ -224,7 +224,7 @@ const AppStack = function () {
<AppStackNav.Screen
name="BlockchainWallet"
component={BlockchainWalletScreen}
options={{ title: i18n.t('blockchain.walletAddresses') }}
options={BlockchainWalletScreen.navigationOptions}
/>
<AppStackNav.Screen
name="Contributions"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment