Skip to content

Commit

Permalink
PLAYNEXT-1192 Fix satellite radios discoverability for Play RTR
Browse files Browse the repository at this point in the history
  • Loading branch information
pyby committed Dec 5, 2024
1 parent 3aed23e commit 90919ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Application/Sources/UI/Controllers/TabBarController.m
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ - (UIViewController *)audiosTabViewController
}
else {
NSArray<RadioChannel *> *radioChannels = applicationConfiguration.radioHomepageChannels;
if (radioChannels.count > 1) {
NSArray<RadioChannel *> *satelliteRadioChannels = applicationConfiguration.satelliteRadioChannels;
NSArray<RadioChannel *> *satelliteRadioChannels = applicationConfiguration.satelliteRadioChannels;
if (radioChannels.count + satelliteRadioChannels.count > 1) {
UIViewController *radioChannelsViewController = [[RadioChannelsViewController alloc] initWithRadioChannels:radioChannels satelliteRadioChannels:satelliteRadioChannels];
NavigationController *audiosNavigationController = [[NavigationController alloc] initWithRootViewController:radioChannelsViewController];
audiosNavigationController.tabBarItem = [self audiosTabBarItem];
Expand Down

0 comments on commit 90919ea

Please sign in to comment.