mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-24 06:48:38 +02:00
fix: Restrict Windows platform from using Zcash and Lightning features; update Lightning availability checks. (#3220)
This commit is contained in:
@@ -109,7 +109,7 @@ abstract class PrivacySettingsViewModelBase with Store {
|
||||
bool get canUsePayjoin => _wallet.type == WalletType.bitcoin && DeviceInfo.instance.isMobile;
|
||||
|
||||
@computed
|
||||
bool get canUseLightning => _wallet.type == WalletType.bitcoin;
|
||||
bool get canUseLightning => _wallet.type == WalletType.bitcoin && !Platform.isWindows;
|
||||
|
||||
@computed
|
||||
bool get useLightning => _wallet.type == WalletType.bitcoin && bitcoin!.useLightning(_wallet);
|
||||
|
||||
Reference in New Issue
Block a user