From 5b0d6b7adaaadedc06d5680d5391d0de0fc46dd1 Mon Sep 17 00:00:00 2001 From: QuentinArguillere Date: Mon, 21 Aug 2023 10:39:43 +0200 Subject: [PATCH] Remove old use of UIColor.secondarySystemBackgroundColor that is only available on iOS 13 or higher --- Classes/ChatConversationCreateView.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Classes/ChatConversationCreateView.m b/Classes/ChatConversationCreateView.m index e480632ea..724f6aff6 100644 --- a/Classes/ChatConversationCreateView.m +++ b/Classes/ChatConversationCreateView.m @@ -78,6 +78,7 @@ static UICompositeViewDescription *compositeDescription = nil; _tableController.controllerNextButton = _nextButton; _isForEditing = FALSE; _voipTitle.text = VoipTexts.call_action_participants_list; + _topBar.backgroundColor = [VoipTheme.voipToolbarBackgroundColor get]; } @@ -133,13 +134,11 @@ static UICompositeViewDescription *compositeDescription = nil; - (void)displayModeChanged{ [self.tableController.tableView reloadData]; if (_isForVoipConference) { - _topBar.backgroundColor = [VoipTheme.voipToolbarBackgroundColor get]; self.view.backgroundColor = [VoipTheme.voipBackgroundBWColor get]; _tableController.tableView.backgroundColor = [VoipTheme.voipBackgroundBWColor get]; _tableController.searchBar.backgroundColor = [VoipTheme.voipBackgroundBWColor get]; _tableController.collectionView.backgroundColor = [VoipTheme.voipBackgroundBWColor get]; } else { - _topBar.backgroundColor = UIColor.secondarySystemBackgroundColor; self.view.backgroundColor = [VoipTheme.backgroundWhiteBlack get]; _tableController.tableView.backgroundColor = [VoipTheme.backgroundWhiteBlack get]; _tableController.searchBar.backgroundColor = [VoipTheme.backgroundWhiteBlack get];