mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
udate alert text
This commit is contained in:
parent
304240f34e
commit
9869cd60cc
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class AddressResolver {
|
||||||
final twitterUser = await TwitterApi.lookupUserByName(userName: formattedName);
|
final twitterUser = await TwitterApi.lookupUserByName(userName: formattedName);
|
||||||
final address = extractAddressByType(raw: twitterUser.description ?? '', type: CryptoCurrency.fromString(ticker));
|
final address = extractAddressByType(raw: twitterUser.description ?? '', type: CryptoCurrency.fromString(ticker));
|
||||||
if (address != null) {
|
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('.')) {
|
if (!text.startsWith('@') && text.contains('@') && !text.contains('.')) {
|
||||||
|
|
Loading…
Reference in a new issue