Fix domain lookup toggles for Yat and Zcash.me providers (#3439)

Both providers checked the wrong SettingsStore flag in isEnabled(), so their toggles in Settings > Connection and sync > Domain lookups had no effect: - YatAddressProvider read lookupsWellKnown instead of lookupsYatService, so the 'Yat' toggle did nothing and '.wellknown' unexpectedly gated it. - ZcashMeAddressProvider read lookupsZcashNames instead of lookupsZcashAddress, so the 'Zcash.me' toggle did nothing and it was gated by the 'Zcash Names' toggle. Each provider now reads the flag its own toggle writes, matching the mapping in ConnectionSyncViewModel.lookupValue/setLookupValue.

Seth For Privacy committed Jul 24, 2026 at 19:43 UTC 7f090c3a3a7c01a009d2e82651df8c88c8a23754
2 files changed +2 -2
lib/core/address_resolver/yat/yat_address_provider.dart
+1 -1
@@ -20,7 +20,7 @@ class YatAddressProvider extends AddressLookupProvider {
20 bool canHandle(String q) => q.hasOnlyEmojis; // Yat handle example: 🐶🐾
21
22 @override
23 - bool isEnabled(SettingsStore settingsStore) => settingsStore.lookupsWellKnown;
23 + bool isEnabled(SettingsStore settingsStore) => settingsStore.lookupsYatService;
24
25 @override
26 Future<List<ParsedAddress>> resolve({
lib/core/address_resolver/zcash/zcash_me_address_provider.dart
+1 -1
@@ -15,7 +15,7 @@ class ZcashMeAddressProvider extends AddressLookupProvider {
15 List<CryptoCurrency> get supportedCurrencies => [CryptoCurrency.zec];
16
17 @override
18 - bool isEnabled(SettingsStore settingsStore) => settingsStore.lookupsZcashNames;
18 + bool isEnabled(SettingsStore settingsStore) => settingsStore.lookupsZcashAddress;
19
20 @override
21 bool canHandle(String query) {