Commit 38ffb2e2 authored by hashier's avatar hashier Committed by Felix Paul Kühne
Browse files

Fixes: Renaming was showing NULL


Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
parent c5664a01
...@@ -1097,7 +1097,7 @@ static NSString *kDisplayedFirstSteps = @"Did we display the first steps tutoria ...@@ -1097,7 +1097,7 @@ static NSString *kDisplayedFirstSteps = @"Did we display the first steps tutoria
} }
NSString *itemName; NSString *itemName;
if (_usingTableViewToShowData) if (!_usingTableViewToShowData)
itemName = [(VLCPlaylistCollectionViewCell *)[self.collectionView cellForItemAtIndexPath:indexPaths[0]] titleLabel].text; itemName = [(VLCPlaylistCollectionViewCell *)[self.collectionView cellForItemAtIndexPath:indexPaths[0]] titleLabel].text;
else else
itemName = [(VLCPlaylistTableViewCell *)[self.tableView cellForRowAtIndexPath:indexPaths[0]] titleLabel].text; itemName = [(VLCPlaylistTableViewCell *)[self.tableView cellForRowAtIndexPath:indexPaths[0]] titleLabel].text;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment