remove iOS 16 support (#3443)

* remove iOS 16 support

* remove iOS 16 support

* test updates

* added more delay

* revert

* adding waiting time on the CI
This commit is contained in:
Mauro
2024-10-24 17:21:28 +02:00
committed by GitHub
parent 926924912f
commit 7d373c07a3
51 changed files with 91 additions and 91 deletions
@@ -575,7 +575,7 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationFlowCoordinatorDeleg
// The user will log out, clear any existing notifications and unregister from receving new ones
UNUserNotificationCenter.current().removeAllPendingNotificationRequests()
UNUserNotificationCenter.current().removeAllDeliveredNotifications()
UIApplication.shared.applicationIconBadgeNumber = 0
UNUserNotificationCenter.current().setBadgeCount(0)
unregisterForRemoteNotifications()
@@ -452,15 +452,15 @@ private struct NavigationSplitCoordinatorView: View {
}
// Handle `horizontalSizeClass` changes breaking the navigation bar
// https://github.com/element-hq/element-x-ios/issues/617
.onChange(of: horizontalSizeClass) { value in
.onChange(of: horizontalSizeClass) { _, newValue in
guard scenePhase != .background else {
return
}
isInSplitMode = value == .regular
isInSplitMode = newValue == .regular
}
.onChange(of: scenePhase) { value in
guard value == .active else {
.onChange(of: scenePhase) { _, newValue in
guard newValue == .active else {
return
}