Merge branch 'main' into disable-mweb-for-exchanges

This commit is contained in:
Omar Hatem 2024-12-31 08:07:19 +02:00 committed by GitHub
commit a6bf26a5c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -259,25 +259,13 @@ class AddressResolver {
}
}
print("@@@@@@@@");
print(formattedName);
print(domainParts);
print(name);
if (formattedName.contains(".")) {
if (settingsStore.lookupsOpenAlias) {
final txtRecord = await OpenaliasRecord.lookupOpenAliasRecord(formattedName);
print("@@@@@@@@");
print(txtRecord);
if (txtRecord != null) {
final record = await OpenaliasRecord.fetchAddressAndName(
formattedName: formattedName, ticker: ticker.toLowerCase(), txtRecord: txtRecord);
print("@@@@@@@@");
print(record);
print(record.name);
print(record.address);
print(record.description);
return ParsedAddress.fetchOpenAliasAddress(record: record, name: text);
}
}