|
|
|
@ -338,7 +338,7 @@ struct ImportMagicTokenViewControllerViewModel { |
|
|
|
|
if let tokenHolder = tokenHolder, tokenHolder.isSpawnableMeetupContract { |
|
|
|
|
//Not the best check, but we assume that even if the data is just partially available, we can show something |
|
|
|
|
//TODO get rid of this. Do we even use "building" as spawable check anymore? Testing `is String` is wrong anyway. But probably harmless for now |
|
|
|
|
if case .some(.subscribable(let subscribable)) = tokenHolder.values["building"]?.value, subscribable.value is String { |
|
|
|
|
if case .some(.subscribable(let subscribable)) = tokenHolder.values["building"]?.value, subscribable.value?.stringValue != nil { |
|
|
|
|
return false |
|
|
|
|
} else { |
|
|
|
|
return true |
|
|
|
|