|
@@ -68,13 +68,14 @@ class KMQucikToolsView: KMBaseXibView {
|
|
|
|
|
|
for type in KMQucikToolsModel.showType() {
|
|
|
let model = KMQucikToolsModel.init(type: type)
|
|
|
- if model.type == .FileCompare {
|
|
|
- var isNew = false
|
|
|
- if let isNewValue = UserDefaults.standard.object(forKey: "QucikToolsModelFileCompareKey") as? Bool {
|
|
|
- isNew = isNewValue
|
|
|
- }
|
|
|
- model.isNew = !isNew
|
|
|
- } else if model.type == .AITools {
|
|
|
+// if model.type == .FileCompare {
|
|
|
+// var isNew = false
|
|
|
+// if let isNewValue = UserDefaults.standard.object(forKey: "QucikToolsModelFileCompareKey") as? Bool {
|
|
|
+// isNew = isNewValue
|
|
|
+// }
|
|
|
+// model.isNew = !isNew
|
|
|
+// } else
|
|
|
+ if model.type == .AITools {
|
|
|
var isNew = false
|
|
|
if let isNewValue = UserDefaults.standard.object(forKey: "QucikToolsModelAIToolsKey") as? Bool {
|
|
|
isNew = isNewValue
|