Commit a6c09105 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

Dropbox: Add descriptive string since an empty folder isn't necessarily empty,...

Dropbox: Add descriptive string since an empty folder isn't necessarily empty, it just doesn't include something we can play
parent cd1b81ae
......@@ -167,7 +167,9 @@
[self.tableView reloadData];
NSUInteger count = _dropboxController.currentListFiles.count;
if (count != 1)
if (count == 0)
_numberOfFilesBarButtonItem.title = NSLocalizedString(@"NO_FILES", @"");
else if (count != 1)
_numberOfFilesBarButtonItem.title = [NSString stringWithFormat:NSLocalizedString(@"NUM_OF_FILES", @""), count];
else
_numberOfFilesBarButtonItem.title = NSLocalizedString(@"ONE_FILE", @"");
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
Supports Markdown
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