diff --git a/ios/MullvadVPN/View controllers/Tunnel/DisconnectSplitButton.swift b/ios/MullvadVPN/View controllers/Tunnel/DisconnectSplitButton.swift index 58bb6819bac4..f8540fa831bb 100644 --- a/ios/MullvadVPN/View controllers/Tunnel/DisconnectSplitButton.swift +++ b/ios/MullvadVPN/View controllers/Tunnel/DisconnectSplitButton.swift @@ -42,6 +42,8 @@ class DisconnectSplitButton: UIView { secondaryButton.heightAnchor.constraint(equalToConstant: secondaryButtonSize.height) } + primaryButton.configuration?.contentInsets.leading += secondaryButtonSize + // Ideally, we shouldn't need to manually resize the image ourselves. // However, since UIButton.Configuration doesn't provide a direct property // for controlling image scaling (like imageScaling or contentMode in other contexts),