CAKE-279 | removed find_order_by_id.dart; added and applied wyre_service.dart to the app

This commit is contained in:
OleksandrSobol
2021-03-23 19:19:01 +02:00
parent 5cad3a9612
commit 08efc52f71
7 changed files with 160 additions and 117 deletions
@@ -146,11 +146,10 @@ class DashboardPage extends BasePage {
: () async {
try {
walletViewModel.isRunningWebView = true;
final url = await walletViewModel.wyreViewModel.getWyreUrl();
if (url.isNotEmpty) {
await Navigator.of(context)
.pushNamed(Routes.wyre, arguments: url);
}
final url =
await walletViewModel.wyreViewModel.wyreUrl;
await Navigator.of(context)
.pushNamed(Routes.wyre, arguments: url);
walletViewModel.isRunningWebView = false;
} catch(e) {
print(e.toString());