Commit 8f3e9f5d authored by Felix Paul Kühne's avatar Felix Paul Kühne

dropbox: don't crash the SDK

(cherry picked from commit fe117d4a)
parent a18870c3
...@@ -8,6 +8,7 @@ iOS 2.7.6: ...@@ -8,6 +8,7 @@ iOS 2.7.6:
* Prevent playing the wrong file on PLEX shares * Prevent playing the wrong file on PLEX shares
* Fix hue video filter * Fix hue video filter
* Improved stability when unlocking app using Touch ID * Improved stability when unlocking app using Touch ID
* Improved Dropbox stability
iOS 2.7.5: iOS 2.7.5:
---------- ----------
......
...@@ -140,7 +140,9 @@ ...@@ -140,7 +140,9 @@
{ {
if (!file.isDirectory) { if (!file.isDirectory) {
_lastKnownNavigationController = navigationController; _lastKnownNavigationController = navigationController;
[[self restClient] loadStreamableURLForFile:file.path]; NSString *path = file.path;
if (path != nil)
[[self restClient] loadStreamableURLForFile:path];
} }
} }
......
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