guard regeneration of lightning address

This commit is contained in:
Omar
2026-08-09 16:01:42 +02:00
parent 43ae37df20
commit 931b6fb9d2
4 changed files with 14 additions and 1 deletions
@@ -614,7 +614,8 @@ abstract class WalletAddressListViewModelBase extends WalletChangeListenerViewMo
@computed
bool get isLightning =>
wallet.type == WalletType.bitcoin && selectedCurrency == CryptoCurrency.btcln;
wallet.type == WalletType.bitcoin &&
(selectedCurrency == CryptoCurrency.btcln || bitcoin!.hasSelectedLightning(wallet));
@computed
bool get isZCashTransparent {