From 658b3ddc47fcf349719616665fef7594b5cd045f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nina=20R=C3=B8sdal=20Graneggen?= Date: Fri, 23 Aug 2024 15:43:00 +0200 Subject: [PATCH] Bring broadcast to front when reappearing --- 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 }