Explorar el Código

【2025】【偏好设置】新增主题&多语切换通知

niehaoyu hace 4 meses
padre
commit
60635a20a5
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      PDF Office/PDF Master/KMClass/Settings/SettingsManager.swift

+ 2 - 1
PDF Office/PDF Master/KMClass/Settings/SettingsManager.swift

@@ -77,7 +77,8 @@ import Cocoa
      
 }
 
-let APPAppearanceChangedNotificationName       = "APPAppearanceChangedNotificationName"
+let APPAppearanceChangedNotificationName       = NSNotification.Name("APPAppearanceChangedNotificationName")
+let APPLanguageChangedNotificationName         = NSNotification.Name("APPLanguageChangedNotificationName")
 
 //General
 let settingsAppearanceKey       = "settingsAppearanceKey"