QR Code error views (#2678)

Co-authored-by: Doug <douglase@element.io>
This commit is contained in:
Mauro
2024-04-11 10:32:56 +02:00
committed by GitHub
parent eda7d59518
commit 9bc24e2038
21 changed files with 202 additions and 25 deletions
@@ -49,11 +49,7 @@ final class StaticLocationScreenCoordinator: CoordinatorProtocol {
case .close:
actionsSubject.send(.close)
case .openSystemSettings:
guard let url = URL(string: UIApplication.openSettingsURLString),
UIApplication.shared.canOpenURL(url) else {
return
}
UIApplication.shared.open(url)
UIApplication.shared.openAppSettings()
case .sendLocation(let geoURI, let isUserLocation):
actionsSubject.send(.selectedLocation(geoURI, isUserLocation: isUserLocation))
}