Преглед на файлове

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

lizhe преди 10 месеца
родител
ревизия
44ce8e1e7e
променени са 1 файла, в които са добавени 8 реда и са изтрити 7 реда
  1. 8 7
      PDF Office/PDF Master/Class/Home/View/HomeContentView/QucikTools/KMQucikToolsView.swift

+ 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