mirror of
https://github.com/pepaskopec-blip/Graduately.git
synced 2026-10-27 15:14:35 +00:00
Fix Mac crash when opening a book from search.
Defer NavigationStack path updates until after the practice tab is active so SwiftUI does not trap in boundPathChange. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
e5e8967187
commit
b6fa222659
3 changed files with 37 additions and 12 deletions
|
|
@ -939,7 +939,7 @@ struct BookScreen: View {
|
|||
}
|
||||
ForEach(Array(b.arr("notes").enumerated()), id: \.offset) { _, note in
|
||||
Section(note.str("title")) {
|
||||
ForEach(note.strs("lines"), id: \.self) { line in
|
||||
ForEach(Array(note.strs("lines").enumerated()), id: \.offset) { _, line in
|
||||
Text(line)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue