Эх сурвалжийг харах

Grant that uploads view shows the correct title always, no matter if entering from notifications

David A. Velasco 9 жил өмнө
parent
commit
1527cb86fc

+ 5 - 0
src/com/owncloud/android/ui/activity/UploadListActivity.java

@@ -77,6 +77,11 @@ public class UploadListActivity extends FileActivity implements UploadListFragme
 
         setContentView(R.layout.upload_list_layout);
 
+        // this activity has no file really bound, it's for mulitple accounts at the same time; should no inherit
+        // from FileActivity; moreover, some behaviours inherited from FileActivity should be delegated to Fragments;
+        // but that's other story
+        setFile(null);
+
         // Navigation Drawer
         initDrawer();