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

onedrive: fix folder navigation back to the root folder

parent da4c451d
......@@ -87,6 +87,9 @@
- (IBAction)goBack:(id)sender
if (_oneDriveController.rootFolder != _oneDriveController.currentFolder) {
if ([])
_oneDriveController.currentFolder = nil;
_oneDriveController.currentFolder = _oneDriveController.currentFolder.parent;
[_activityIndicator startAnimating];
[_oneDriveController loadCurrentFolder];
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