From d0e9fb62fd1d701ba37dec19ac41e3a747d26f2c Mon Sep 17 00:00:00 2001 From: Matthew Fosse Date: Tue, 5 Mar 2024 09:53:48 -0800 Subject: [PATCH] fixes --- lib/src/screens/receive/lightning_invoice_page.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/src/screens/receive/lightning_invoice_page.dart b/lib/src/screens/receive/lightning_invoice_page.dart index fe9e7e24f..389b34652 100644 --- a/lib/src/screens/receive/lightning_invoice_page.dart +++ b/lib/src/screens/receive/lightning_invoice_page.dart @@ -18,7 +18,6 @@ import 'package:cake_wallet/view_model/dashboard/receive_option_view_model.dart' import 'package:cake_wallet/view_model/lightning_invoice_page_view_model.dart'; import 'package:cake_wallet/view_model/lightning_view_model.dart'; import 'package:cw_core/receive_page_option.dart'; -import 'package:cw_core/lightning_receive_page_option.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:flutter_mobx/flutter_mobx.dart'; @@ -237,7 +236,7 @@ class LightningInvoicePage extends BasePage { Navigator.popAndPushNamed( context, Routes.lightningReceiveOnchain, - arguments: [LightningReceivePageOption.lightningOnchain], + arguments: [lightning!.getOptionOnchain()], ); } });