udate alert text

This commit is contained in:
Serhii 2023-01-30 21:15:10 +02:00
parent 304240f34e
commit 9869cd60cc

View file

@ -45,7 +45,7 @@ class AddressResolver {
final twitterUser = await TwitterApi.lookupUserByName(userName: formattedName);
final address = extractAddressByType(raw: twitterUser.description ?? '', type: CryptoCurrency.fromString(ticker));
if (address != null) {
return ParsedAddress.fetchTwitterAddress(address: address, name: text);
return ParsedAddress.fetchTwitterAddress(address: address, name: '$text on Twitter');
}
}
if (!text.startsWith('@') && text.contains('@') && !text.contains('.')) {