mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
Fix issue with toolbar tools switching
This commit is contained in:
parent
09aabcf1e5
commit
de7eff389f
@ -33,6 +33,7 @@ struct VideoDetailsToolbar: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.id(video?.id)
|
||||
.onChange(of: page) { newValue in
|
||||
activeTool = tools.first { $0.id == newValue.rawValue }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user