From 7db3a0fe7bfbf4e3b29983ab44172b148ce3fc1c Mon Sep 17 00:00:00 2001 From: Christophe Deschamps Date: Fri, 17 Jun 2022 09:06:52 +0200 Subject: [PATCH] Voip Extra buttons background on iOS 12 --- .../Swift/Voip/Views/Fragments/VoipExtraButtonsView.swift | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Classes/Swift/Voip/Views/Fragments/VoipExtraButtonsView.swift b/Classes/Swift/Voip/Views/Fragments/VoipExtraButtonsView.swift index 6c180a3ca..80338e480 100644 --- a/Classes/Swift/Voip/Views/Fragments/VoipExtraButtonsView.swift +++ b/Classes/Swift/Voip/Views/Fragments/VoipExtraButtonsView.swift @@ -42,8 +42,14 @@ class VoipExtraButtonsView: UIStackView { layer.cornerRadius = corner_radius clipsToBounds = true + + let background = UIView() + background.backgroundColor = VoipTheme.voipExtraButtonsBackgroundColor.get() + addSubview(background) + background.layer.cornerRadius = corner_radius + background.clipsToBounds = true + background.matchParentDimmensions().done() - backgroundColor = VoipTheme.voipExtraButtonsBackgroundColor.get() height(height).done() let row1 = UIStackView()