mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 07:28:28 +02:00
hotfix use custom url scheme to open links if provided
This commit is contained in:
@@ -218,9 +218,8 @@ struct AuthenticationLoginScreen: View {
|
||||
return
|
||||
}
|
||||
let tosURL = URL.init(string: urlString)! // add your link here
|
||||
if UIApplication.shared.canOpenURL(tosURL) {
|
||||
UIApplication.shared.open(tosURL)
|
||||
}
|
||||
|
||||
UIApplication.shared.vc_open(tosURL, completionHandler: nil)
|
||||
}, label: {
|
||||
Text(BWIL10n.authenticationDataprivacyText)
|
||||
.font(theme.fonts.footnote)
|
||||
|
||||
Reference in New Issue
Block a user