release: iriz 0.2.0 - диктовка на своем Маке

This commit is contained in:
public-repo-gate
2026-09-05 12:56:59 +03:00
parent 93776bfde4
commit c8193dfbc3
251 changed files with 48509 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import SwiftUI
@main
struct IrizAppMain: App {
@NSApplicationDelegateAdaptor(AppDelegate.self) private var appDelegate
var body: some Scene {
MenuBarExtra {
MenuContentView(state: appDelegate.menuState, appDelegate: appDelegate)
} label: {
MenuBarLabelView(state: appDelegate.menuState)
}
// .window, а не .menu: NSMenu не даёт ни кегля, ни веса, ни отступов —
// иерархию в нём не построить (см. MenuContentView и VISUAL_SPEC §6).
.menuBarExtraStyle(.window)
}
}