|
@@ -302,7 +302,7 @@ extension MarketSearchViewModel {
|
|
|
let increase = (conerData(np, .MyDouble).2!/conerData(model.close, .MyDouble).2!)*100
|
|
|
model.increase = String(format: "%.2f", increase)
|
|
|
|
|
|
- for str in self!.collectionList {
|
|
|
+ for str in self?.collectionList ?? [] {
|
|
|
if str == model.symbol {
|
|
|
model.isSelect = true
|
|
|
}
|