From e0103dd666c466db82e20bc2a32270576ebdf276 Mon Sep 17 00:00:00 2001 From: brave-builds <45370463+brave-builds@users.noreply.github.com> Date: Tue, 19 Nov 2024 21:13:57 +0100 Subject: [PATCH] [iOS] Fix leak which could lead to two Playlist items playing at once (uplift to 1.73.x) (#26624) Uplift of #26619 (squashed) to release --- ios/brave-ios/Sources/PlaylistUI/PlaylistRootView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/brave-ios/Sources/PlaylistUI/PlaylistRootView.swift b/ios/brave-ios/Sources/PlaylistUI/PlaylistRootView.swift index d39d68dffa41..61254e23fa03 100644 --- a/ios/brave-ios/Sources/PlaylistUI/PlaylistRootView.swift +++ b/ios/brave-ios/Sources/PlaylistUI/PlaylistRootView.swift @@ -80,7 +80,7 @@ public struct PlaylistRootView: View { .preferredColorScheme(.dark) .environment( \.openTabURL, - .init { url, isPrivate in + .init { [delegate] url, isPrivate in delegate.openTabURL(url, isPrivate) } )