Browse Source

【主页】编辑工具 - 文档对比的“New”标签要拿掉 -- 修复

lizhe 10 months ago
parent
commit
44ce8e1e7e

+ 8 - 7
PDF Office/PDF Master/Class/Home/View/HomeContentView/QucikTools/KMQucikToolsView.swift

@@ -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