mirror of
https://github.com/pepaskopec-blip/Graduately.git
synced 2026-10-28 15:44:34 +00:00
Fix word-picker sheet glow from Liquid Glass refraction.
Use an opaque sheet background and plain list rows so the dialog word list stays readable. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
2d7d55c47a
commit
ab2d248edd
2 changed files with 16 additions and 5 deletions
|
|
@ -319,13 +319,21 @@ struct WordPicker: View {
|
|||
|
||||
var body: some View {
|
||||
NavigationStack {
|
||||
List(Array(pool.enumerated()), id: \.offset) { _, w in
|
||||
Button {
|
||||
onPick(w)
|
||||
} label: {
|
||||
Text(w).foregroundStyle(.primary)
|
||||
List {
|
||||
ForEach(Array(pool.enumerated()), id: \.offset) { _, w in
|
||||
Button {
|
||||
onPick(w)
|
||||
} label: {
|
||||
Text(w)
|
||||
.foregroundStyle(.primary)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
.contentShape(Rectangle())
|
||||
}
|
||||
.buttonStyle(.plain)
|
||||
}
|
||||
}
|
||||
.listStyle(.plain)
|
||||
.scrollContentBackground(.visible)
|
||||
.navigationTitle("Vyberte slovo")
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
.toolbar {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue