Browse Source

Fix: The path in the action bar is wrong after deleteing a file and changing the orientation

masensio 11 năm trước cách đây
mục cha
commit
f0ea0b3dc6

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

@@ -1306,7 +1306,7 @@ OnSslUntrustedCertListener, EditNameDialogListener {
             if (getStorageManager().getFileById(removedFile.getParentId()).equals(getCurrentDir())) {
                 refreshListOfFilesFragment();
             }
-
+            invalidateOptionsMenu();
         } else {
             Toast msg = Toast.makeText(this, R.string.remove_fail_msg, Toast.LENGTH_LONG); 
             msg.show();