Przeglądaj źródła

Open downloaded files with just click on the list of files

David A. Velasco 12 lat temu
rodzic
commit
5966b38de7

+ 3 - 3
src/com/owncloud/android/ui/activity/FileDisplayActivity.java

@@ -908,9 +908,9 @@ public class FileDisplayActivity extends FileActivity implements
                     
                 }
                 
-            } else if (file.isDown()) {
-                // details view
-                startDetails(file, onOrientationChange);
+            } else if (file.isDown() && !onOrientationChange) {
+                openFile(file);
+                
             } else {
                 startDownloadForPreview(file, onOrientationChange);
             }