From cf86e7167ea0a9d6456bee3ee616e93e9b4ecb60 Mon Sep 17 00:00:00 2001 From: Steffen Ernst Date: Thu, 30 Jan 2025 10:44:34 +0100 Subject: Hide animated texts behind buttons in connect view --- .../View controllers/Tunnel/ConnectionView/ConnectionView.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ios/MullvadVPN/View controllers/Tunnel/ConnectionView/ConnectionView.swift b/ios/MullvadVPN/View controllers/Tunnel/ConnectionView/ConnectionView.swift index 6008db8fe3..05d36acfee 100644 --- a/ios/MullvadVPN/View controllers/Tunnel/ConnectionView/ConnectionView.swift +++ b/ios/MullvadVPN/View controllers/Tunnel/ConnectionView/ConnectionView.swift @@ -67,6 +67,12 @@ struct ConnectionView: View { .transformEffect(.identity) ButtonPanel(viewModel: connectionViewModel, action: action) + .background( + ZStack { + Rectangle().blendMode(.destinationOut) + BlurView(style: .dark) + } + ) } .padding() .background(BlurView(style: .dark)) -- cgit v1.3-3-g829e