mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-04-27 11:04:45 +00:00
fix asset loader trying to load empty string
This commit is contained in:
parent
5bf544ab00
commit
0046aeecce
1 changed files with 1 additions and 1 deletions
|
@ -503,7 +503,7 @@ class _PickerState<Item> extends State<Picker<Item>> {
|
|||
|
||||
Widget? _getItemIcon(Item item) {
|
||||
if (item is Currency) {
|
||||
if (item.iconPath != null) {
|
||||
if (item.iconPath != null && item.iconPath != "") {
|
||||
return Image.asset(
|
||||
item.iconPath!,
|
||||
height: 20.0,
|
||||
|
|
Loading…
Reference in a new issue