From 5fb317e402dd81d3e8fbf488ba29aec531043eef Mon Sep 17 00:00:00 2001 From: ninarg Date: Fri, 23 Aug 2024 16:28:43 +0200 Subject: [PATCH] Fix bug where broadcast would be placed below tab bar view (#1374) --- FinniversKit/Sources/Components/Broadcast/Broadcast.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/FinniversKit/Sources/Components/Broadcast/Broadcast.swift b/FinniversKit/Sources/Components/Broadcast/Broadcast.swift index d47d878dd1..e746447314 100644 --- a/FinniversKit/Sources/Components/Broadcast/Broadcast.swift +++ b/FinniversKit/Sources/Components/Broadcast/Broadcast.swift @@ -44,6 +44,7 @@ public final class Broadcast: UIStackView { let newMessages = messages.subtracting(self.messages) self.messages.formUnion(messages) add(newMessages, animated: animated) + superview?.bringSubviewToFront(self) return }