mirror of
https://github.com/yattee/yattee.git
synced 2025-08-04 01:34:10 +00:00
Fix issue with toolbar tools switching
This commit is contained in:
@@ -33,6 +33,7 @@ struct VideoDetailsToolbar: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.id(video?.id)
|
||||
.onChange(of: page) { newValue in
|
||||
activeTool = tools.first { $0.id == newValue.rawValue }
|
||||
}
|
||||
|
Reference in New Issue
Block a user