Skip to content

Commit

Permalink
Merge pull request #3540 from EdgeApp/paul/fiatPluginCreateWallet
Browse files Browse the repository at this point in the history
Add showCreateWallet to fiat plugin modal
  • Loading branch information
thehobbit85 authored Jul 27, 2022
2 parents c06f8b3 + 36b6894 commit e794268
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/plugins/gui/fiatPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ export const executePlugin = async (params: {
else CustomTabs.openURL(params.url)
},
walletPicker: async (params): Promise<WalletListResult> => {
const { headerTitle, allowedAssets } = params
const walletListResult = await Airship.show(bridge => <WalletListModal bridge={bridge} headerTitle={headerTitle} allowedAssets={allowedAssets} />)
const { headerTitle, allowedAssets, showCreateWallet } = params
const walletListResult = await Airship.show(bridge => (
<WalletListModal bridge={bridge} headerTitle={headerTitle} allowedAssets={allowedAssets} showCreateWallet={showCreateWallet} />
))
return walletListResult
},
showError: async (e: Error): Promise<void> => showError(e),
Expand Down
1 change: 0 additions & 1 deletion src/plugins/gui/providers/simplexProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ const SIMPLEX_ID_MAP: { [pluginId: string]: { [currencyCode: string]: string } }
XYO: 'XYO'
},
fantom: { FTM: 'FTM' },
groestlcoin: { GRS: 'GRS' },
hedera: { HBAR: 'HBAR' },
litecoin: { LTC: 'LTC' },
one: { ONE: 'ONE' },
Expand Down

0 comments on commit e794268

Please sign in to comment.