mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user