mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
CAKE-356 | fixed yat_record.dart
This commit is contained in:
@@ -15,7 +15,7 @@ Future<String> fetchYatAddress(String emojiId, String ticker) async {
|
||||
final responseJSON = json.decode(response.body) as Map<String, dynamic>;
|
||||
final result = responseJSON['result'] as List<dynamic>;
|
||||
|
||||
if (result == null || result.isEmpty) {
|
||||
if (result?.isEmpty ?? true) {
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user