Add a native SwiftUI macOS app that shares the iOS player.

The GTK Mac build stays; CI now also publishes maturita-macos-swift.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
pepaskopec-blip 2026-09-20 18:40:44 +02:00
commit 58e3a75f21
33 changed files with 1415 additions and 128 deletions

View file

@ -304,7 +304,7 @@ private struct ComboLine: View {
if let word, idx < picks.count { picks[idx] = word }
open = false
}
.presentationDetents([.medium, .large])
.sheetDetents()
}
if revealed, let meaning, !meaning.isEmpty {
Meaning(text: vm.tr(meaning), palette: p, visible: true)
@ -334,8 +334,7 @@ struct WordPicker: View {
}
}
}
.presentationDetents([.medium, .large])
.presentationDragIndicator(.visible)
.sheetDetents()
}
}
@ -781,7 +780,7 @@ private struct PrefixMenu: View {
if let word { value = word }
open = false
}
.presentationDetents([.medium, .large])
.sheetDetents()
}
}
}