Commit 0375b71f authored by Felix Paul Kühne's avatar Felix Paul Kühne

Dropbox: fix corner-case in which the view controller fails to pop

parent 15c6475c
......@@ -127,7 +127,7 @@
- (IBAction)goBack:(id)sender
{
if (![_currentPath isEqualToString:@"/"]) {
if (![_currentPath isEqualToString:@"/"] && [_currentPath length] > 0) {
_currentPath = [_currentPath stringByDeletingLastPathComponent];
[self _requestInformationForCurrentPath];
} else
......
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