From de7eff389fe8a325299215d05a8f9e7a9cb2b35d Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Mon, 14 Nov 2022 19:07:16 +0100 Subject: [PATCH] Fix issue with toolbar tools switching --- Shared/Player/Video Details/VideoDetailsToolbar.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Shared/Player/Video Details/VideoDetailsToolbar.swift b/Shared/Player/Video Details/VideoDetailsToolbar.swift index 5cafa4ad..45d21b5b 100644 --- a/Shared/Player/Video Details/VideoDetailsToolbar.swift +++ b/Shared/Player/Video Details/VideoDetailsToolbar.swift @@ -33,6 +33,7 @@ struct VideoDetailsToolbar: View { } } } + .id(video?.id) .onChange(of: page) { newValue in activeTool = tools.first { $0.id == newValue.rawValue } }