mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-03 17:40:43 +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(
|
||||
title: S.current.view_in_block_explorer,
|
||||
value: _explorerDescription(unspentCoinsListViewModel.wallet.type),
|
||||
onTap: () => launch(_explorerUrl(unspentCoinsListViewModel.wallet.type,
|
||||
unspentCoinsItem.hash)))
|
||||
onTap: () {
|
||||
final url = Uri.parse(_explorerUrl(unspentCoinsListViewModel.wallet.type,
|
||||
unspentCoinsItem.hash));
|
||||
return launchUrl(url);
|
||||
}
|
||||
)
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue