more fixes

This commit is contained in:
fosse 2024-02-13 15:52:02 -05:00
parent f54feafd55
commit 02ee8cb938
3 changed files with 22 additions and 3 deletions

View file

@ -60,6 +60,26 @@
<string>bitcoin-wallet</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>lightning</string>
<key>CFBundleURLSchemes</key>
<array>
<string>lightning</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>lightning-wallet</string>
<key>CFBundleURLSchemes</key>
<array>
<string>lightning-wallet</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>

View file

@ -1,3 +1,4 @@
import 'package:cake_wallet/bitcoin/bitcoin.dart';
import 'package:cw_core/unspent_transaction_output.dart';
import 'package:cw_core/wallet_credentials.dart';
import 'package:cw_core/wallet_info.dart';
@ -7,8 +8,6 @@ import 'package:cw_core/unspent_coins_info.dart';
import 'package:cw_core/wallet_service.dart';
import 'package:cake_wallet/view_model/send/output.dart';
import 'package:hive/hive.dart';
import 'package:mobx/mobx.dart';
Lightning? lightning;

View file

@ -704,6 +704,7 @@ abstract class Polygon {
Future<void> generateLightning(bool hasImplementation) async {
final outputFile = File(lightningOutputPath);
const lightningCommonHeaders = """
import 'package:cake_wallet/bitcoin/bitcoin.dart';
import 'package:cw_core/unspent_transaction_output.dart';
import 'package:cw_core/wallet_credentials.dart';
import 'package:cw_core/wallet_info.dart';
@ -713,7 +714,6 @@ import 'package:cw_core/unspent_coins_info.dart';
import 'package:cw_core/wallet_service.dart';
import 'package:cake_wallet/view_model/send/output.dart';
import 'package:hive/hive.dart';
import 'package:mobx/mobx.dart';
""";
const lightningCWHeaders = """
import 'package:cw_bitcoin/electrum_wallet.dart';