Revert "Revert "#4693 - Drop iOS 11 support.""

This commit is contained in:
Stefan Ceriu
2021-09-01 12:44:15 +03:00
committed by Stefan Ceriu
parent 073d4e3994
commit f1d3e5af9d
31 changed files with 74 additions and 177 deletions
+3 -6
View File
@@ -722,12 +722,9 @@ NSString *const AppDelegateUniversalLinkDidChangeNotification = @"AppDelegateUni
}
_isAppForeground = YES;
if (@available(iOS 11.0, *))
{
// Riot has its own dark theme. Prevent iOS from applying its one
[application keyWindow].accessibilityIgnoresInvertColors = YES;
}
// Riot has its own dark theme. Prevent iOS from applying its one
[application keyWindow].accessibilityIgnoresInvertColors = YES;
[self handleAppState];
}