mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-05 10:29:23 +00:00
fix url launcher
This commit is contained in:
parent
a0f86df9a6
commit
5a95fd4ab5
1 changed files with 6 additions and 2 deletions
|
@ -54,8 +54,12 @@ abstract class UnspentCoinsDetailsViewModelBase with Store {
|
||||||
BlockExplorerListItem(
|
BlockExplorerListItem(
|
||||||
title: S.current.view_in_block_explorer,
|
title: S.current.view_in_block_explorer,
|
||||||
value: _explorerDescription(unspentCoinsListViewModel.wallet.type),
|
value: _explorerDescription(unspentCoinsListViewModel.wallet.type),
|
||||||
onTap: () => launch(_explorerUrl(unspentCoinsListViewModel.wallet.type,
|
onTap: () {
|
||||||
unspentCoinsItem.hash)))
|
final url = Uri.parse(_explorerUrl(unspentCoinsListViewModel.wallet.type,
|
||||||
|
unspentCoinsItem.hash));
|
||||||
|
return launchUrl(url);
|
||||||
|
}
|
||||||
|
)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue