Browse Source

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

David A. Velasco 9 years ago
parent
commit
1527cb86fc
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/com/owncloud/android/ui/activity/UploadListActivity.java

+ 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();