Revert "#4693 - Drop iOS 11 support."

This reverts commit a2b359f21960e1b9f75139d94adc7aeb35fa479f.
This commit is contained in:
Stefan Ceriu
2021-09-06 17:13:08 +03:00
committed by Stefan Ceriu
parent 8207ef4b8e
commit 8f46e037f2
32 changed files with 176 additions and 73 deletions

View File

@@ -134,7 +134,7 @@ const CGFloat kComposerContainerTrailingPadding = 12;
{
[self.attachMediaButton setImage:[UIImage imageNamed:@"upload_icon_dark"] forState:UIControlStateNormal];
}
else if (ThemeService.shared.theme.userInterfaceStyle == UIUserInterfaceStyleDark) {
else if (@available(iOS 12.0, *) && ThemeService.shared.theme.userInterfaceStyle == UIUserInterfaceStyleDark) {
[self.attachMediaButton setImage:[UIImage imageNamed:@"upload_icon_dark"] forState:UIControlStateNormal];
}