Skip to content

Commit

Permalink
disabled file info as it is still WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
tillt committed Mar 15, 2024
1 parent 5a124a7 commit 18ded9d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion PlayEm/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<key>CFBundleShortVersionString</key>
<string>1.2</string>
<key>CFBundleVersion</key>
<string>4791</string>
<string>4793</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.music</string>
<key>LSMinimumSystemVersion</key>
Expand Down
14 changes: 7 additions & 7 deletions PlayEm/Window & ViewControllers/InfoPanel.m
Original file line number Diff line number Diff line change
Expand Up @@ -540,13 +540,13 @@ - (void)viewWillAppear
[self.tabView addTabViewItem:_lyricsTabViewItem];
[self loadLyricsWithView:_lyricsTabViewItem.view];

if ([metas count] == 1) {
vc = [NSViewController new];
self.fileTabViewItem = [NSTabViewItem tabViewItemWithViewController:vc];
[_fileTabViewItem setLabel:kInfoPageKeyFile];
[self.tabView addTabViewItem:_fileTabViewItem];
[self loadFileWithView:_fileTabViewItem.view];
}
// if ([metas count] == 1) {
// vc = [NSViewController new];
// self.fileTabViewItem = [NSTabViewItem tabViewItemWithViewController:vc];
// [_fileTabViewItem setLabel:kInfoPageKeyFile];
// [self.tabView addTabViewItem:_fileTabViewItem];
// [self loadFileWithView:_fileTabViewItem.view];
// }

[self.view addSubview:_tabView];

Expand Down

0 comments on commit 18ded9d

Please sign in to comment.