Skip to content

Commit

Permalink
build with the final iOS 15 SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
c99koder committed Sep 15, 2021
1 parent 5a9dfb0 commit b86d062
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 17 deletions.
6 changes: 0 additions & 6 deletions IRCCloud.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3486,7 +3486,6 @@
"${BUILT_PRODUCTS_DIR}/FirebaseMessaging/FirebaseMessaging.framework",
"${BUILT_PRODUCTS_DIR}/FirebasePerformance/FirebasePerformance.framework",
"${BUILT_PRODUCTS_DIR}/FirebaseRemoteConfig/FirebaseRemoteConfig.framework",
"${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework",
"${BUILT_PRODUCTS_DIR}/youtube-ios-player-helper/youtube_ios_player_helper.framework",
);
name = "[CP] Embed Pods Frameworks";
Expand All @@ -3504,7 +3503,6 @@
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebaseMessaging.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebasePerformance.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebaseRemoteConfig.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/youtube_ios_player_helper.framework",
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -3554,7 +3552,6 @@
"${BUILT_PRODUCTS_DIR}/FirebaseMessaging/FirebaseMessaging.framework",
"${BUILT_PRODUCTS_DIR}/FirebasePerformance/FirebasePerformance.framework",
"${BUILT_PRODUCTS_DIR}/FirebaseRemoteConfig/FirebaseRemoteConfig.framework",
"${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework",
"${BUILT_PRODUCTS_DIR}/youtube-ios-player-helper/youtube_ios_player_helper.framework",
);
name = "[CP] Embed Pods Frameworks";
Expand All @@ -3572,7 +3569,6 @@
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebaseMessaging.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebasePerformance.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebaseRemoteConfig.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/youtube_ios_player_helper.framework",
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -3622,7 +3618,6 @@
"${BUILT_PRODUCTS_DIR}/FirebaseMessaging/FirebaseMessaging.framework",
"${BUILT_PRODUCTS_DIR}/FirebasePerformance/FirebasePerformance.framework",
"${BUILT_PRODUCTS_DIR}/FirebaseRemoteConfig/FirebaseRemoteConfig.framework",
"${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework",
"${BUILT_PRODUCTS_DIR}/youtube-ios-player-helper/youtube_ios_player_helper.framework",
);
name = "[CP] Embed Pods Frameworks";
Expand All @@ -3640,7 +3635,6 @@
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebaseMessaging.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebasePerformance.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebaseRemoteConfig.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/youtube_ios_player_helper.framework",
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down
2 changes: 0 additions & 2 deletions IRCCloud/Classes/MainViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -274,11 +274,9 @@ - (void)applyTheme {
self.navigationController.navigationBar.standardAppearance = a;
self.navigationController.navigationBar.compactAppearance = a;
self.navigationController.navigationBar.scrollEdgeAppearance = a;
#ifdef __IPHONE_15_0
if (@available(iOS 15.0, *)) {
self.navigationController.navigationBar.compactScrollEdgeAppearance = a;
}
#endif
}
[self->_uploadsBtn setTintColor:[UIColor textareaBackgroundColor]];
UIColor *c = ([NetworkConnection sharedInstance].state == kIRCCloudStateConnected)?([UIColor isDarkTheme]?[UIColor whiteColor]:[UIColor unreadBlueColor]):[UIColor textareaBackgroundColor];
Expand Down
4 changes: 0 additions & 4 deletions IRCCloud/Classes/SettingsViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -456,11 +456,9 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
self.navigationController.navigationBar.standardAppearance = a;
self.navigationController.navigationBar.compactAppearance = a;
self.navigationController.navigationBar.scrollEdgeAppearance = a;
#ifdef __IPHONE_15_0
if (@available(iOS 15.0, *)) {
self.navigationController.navigationBar.compactScrollEdgeAppearance = a;
}
#endif
}

[self.navigationController setNeedsStatusBarAppearanceUpdate];
Expand Down Expand Up @@ -667,11 +665,9 @@ -(void)cancelButtonPressed:(id)sender {
self.navigationController.navigationBar.standardAppearance = a;
self.navigationController.navigationBar.compactAppearance = a;
self.navigationController.navigationBar.scrollEdgeAppearance = a;
#ifdef __IPHONE_15_0
if (@available(iOS 15.0, *)) {
self.navigationController.navigationBar.compactScrollEdgeAppearance = a;
}
#endif
}
[self dismissViewControllerAnimated:YES completion:nil];
//#endif
Expand Down
4 changes: 0 additions & 4 deletions IRCCloud/Classes/UIColor+IRCCloud.m
Original file line number Diff line number Diff line change
Expand Up @@ -491,12 +491,10 @@ +(void)setTheme:(NSString *)theme {
a.backgroundImage = [self navBarBackgroundImage];
a.titleTextAttributes = @{NSForegroundColorAttributeName: [self navBarHeadingColor]};
[[UINavigationBar appearance] setStandardAppearance:a];
#ifdef __IPHONE_15_0
if (@available(iOS 15.0, *)) {
[[UINavigationBar appearance] setCompactAppearance:a];
[[UINavigationBar appearance] setCompactScrollEdgeAppearance:a];
}
#endif
[[UINavigationBar appearance] setScrollEdgeAppearance:a];
}

Expand Down Expand Up @@ -781,12 +779,10 @@ +(void)setTheme:(NSString *)theme {
a.backgroundImage = [self navBarBackgroundImage];
a.titleTextAttributes = @{NSForegroundColorAttributeName: [self navBarHeadingColor]};
[[UINavigationBar appearance] setStandardAppearance:a];
#ifdef __IPHONE_15_0
if (@available(iOS 15.0, *)) {
[[UINavigationBar appearance] setCompactAppearance:a];
[[UINavigationBar appearance] setCompactScrollEdgeAppearance:a];
}
#endif
[[UINavigationBar appearance] setScrollEdgeAppearance:a];
}
}
Expand Down
2 changes: 1 addition & 1 deletion build-scripts/BUILD
Original file line number Diff line number Diff line change
@@ -1 +1 @@
178
179

0 comments on commit b86d062

Please sign in to comment.