Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #24 from arichornloverALT/v5
Browse files Browse the repository at this point in the history
  • Loading branch information
LillieH1000 authored Jun 8, 2024
2 parents f703532 + c002da5 commit b214945
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Controllers/DownloadsController.m
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ - (void)loadView {

DownloadsVideoController *videoViewController = [[DownloadsVideoController alloc] init];
videoViewController.title = @"Video";
videoViewController.tabBarItem = [[UITabBarItem alloc] initWithTitle:@"Video" image:[UIImage systemImageNamed:@"video.circle.fill"] tag:0];
UINavigationController *videoNavViewController = [[UINavigationController alloc] initWithRootViewController:videoViewController];

DownloadsAudioController *audioViewController = [[DownloadsAudioController alloc] init];
audioViewController.title = @"Audio";
audioViewController.tabBarItem = [[UITabBarItem alloc] initWithTitle:@"Audio" image:[UIImage systemImageNamed:@"music.note"] tag:1];
UINavigationController *audioNavViewController = [[UINavigationController alloc] initWithRootViewController:audioViewController];

self.tabBar.viewControllers = [NSArray arrayWithObjects:videoNavViewController, audioNavViewController, nil];
Expand Down Expand Up @@ -56,4 +58,4 @@ - (void)done {
[self.presentingViewController dismissViewControllerAnimated:YES completion:nil];
}

@end
@end

0 comments on commit b214945

Please sign in to comment.