fix(menubar): 修复清理构建状态项并增加液态外观选择

This commit is contained in:
2026-10-30 17:24:39 +08:00
parent 5b71e5bd80
commit c411a8241f
12 changed files with 122 additions and 48 deletions
+1 -3
View File
@@ -22,11 +22,9 @@ struct kymoApp: App {
@State private var language = LanguagePreferences()
var body: some Scene {
MenuBarExtra {
MenuBarExtra(MenuBarLabel.title(for: metrics.snapshot), image: "BrandMark") {
MenuPanelView(metrics: metrics, preferences: appearance, keepAwake: keepAwake, settingsPresentation: settingsPresentation)
.environment(\.locale, language.locale)
} label: {
MenuBarLabel(snapshot: metrics.snapshot)
}
.menuBarExtraStyle(.window)