瀏覽代碼

fix: remove filename skip check config

Junyi 2 年之前
父節點
當前提交
fe81575546
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      src/main/frontend/handler/events.cljs

+ 2 - 4
src/main/frontend/handler/events.cljs

@@ -362,10 +362,8 @@
   (repo-handler/graph-ready! repo)
   (when (and (util/electron?)
              (not (config/demo-graph?))
-             (= :legacy (state/get-filename-format))
-             (not (get-in (state/get-config) [:file/name-format-skip-check] false)))
-    (state/pub-event! [:ui/notify-outdated-filename-format []]))
-  )
+             (= :legacy (state/get-filename-format)))
+    (state/pub-event! [:ui/notify-outdated-filename-format []])))
 
 (defmethod handle :notification/show [[_ {:keys [content status clear?]}]]
   (notification/show! content status clear?))