Manos Chorianopoulos

MerchantCategoryModel fix 3

...@@ -128,7 +128,7 @@ public class MerchantCategoryModel: NSObject { ...@@ -128,7 +128,7 @@ public class MerchantCategoryModel: NSObject {
128 128
129 /// Check if this category has child categories 129 /// Check if this category has child categories
130 public var hasChildren: Bool { 130 public var hasChildren: Bool {
131 - return !self.children.isEmpty 131 + return !(self.children ?? []).isEmpty
132 } 132 }
133 } 133 }
134 134
......