mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-25 12:06:05 +00:00
fixes
This commit is contained in:
parent
806dc8753c
commit
21accd07b2
2 changed files with 21 additions and 0 deletions
19
cw_lightning/lib/lightning_receive_page_option.dart
Normal file
19
cw_lightning/lib/lightning_receive_page_option.dart
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
import 'package:cw_core/receive_page_option.dart';
|
||||||
|
|
||||||
|
class LightningReceivePageOption implements ReceivePageOption {
|
||||||
|
static const lightningOnchain = LightningReceivePageOption._('lightningOnchain');
|
||||||
|
static const lightningInvoice = LightningReceivePageOption._('lightningInvoice');
|
||||||
|
|
||||||
|
const LightningReceivePageOption._(this.value);
|
||||||
|
|
||||||
|
final String value;
|
||||||
|
|
||||||
|
String toString() {
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
|
static const all = [
|
||||||
|
LightningReceivePageOption.lightningInvoice,
|
||||||
|
LightningReceivePageOption.lightningOnchain
|
||||||
|
];
|
||||||
|
}
|
|
@ -733,6 +733,7 @@ import 'package:cake_wallet/view_model/send/output.dart';
|
||||||
import 'package:cw_core/wallet_type.dart';
|
import 'package:cw_core/wallet_type.dart';
|
||||||
import 'package:hive/hive.dart';
|
import 'package:hive/hive.dart';
|
||||||
import 'package:mobx/mobx.dart';
|
import 'package:mobx/mobx.dart';
|
||||||
|
import 'package:intl/intl.dart';
|
||||||
""";
|
""";
|
||||||
const lightningCWHeaders = """
|
const lightningCWHeaders = """
|
||||||
import 'package:cw_bitcoin/electrum_wallet.dart';
|
import 'package:cw_bitcoin/electrum_wallet.dart';
|
||||||
|
@ -744,6 +745,7 @@ import 'package:cw_bitcoin/bitcoin_amount_format.dart';
|
||||||
import 'package:cw_bitcoin/bitcoin_address_record.dart';
|
import 'package:cw_bitcoin/bitcoin_address_record.dart';
|
||||||
import 'package:cw_bitcoin/bitcoin_transaction_credentials.dart';
|
import 'package:cw_bitcoin/bitcoin_transaction_credentials.dart';
|
||||||
import 'package:cw_lightning/lightning_wallet_service.dart';
|
import 'package:cw_lightning/lightning_wallet_service.dart';
|
||||||
|
import 'package:cw_lightning/lightning_receive_page_option.dart';
|
||||||
""";
|
""";
|
||||||
const lightningCwPart = "part 'cw_lightning.dart';";
|
const lightningCwPart = "part 'cw_lightning.dart';";
|
||||||
const lightningContent = """
|
const lightningContent = """
|
||||||
|
|
Loading…
Reference in a new issue