Skip to content

Commit 3eb6cc0

Browse files
Merge pull request #16173 from nextcloud/backport/16159/stable-3.35
[stable-3.35] fix: empty all files
2 parents e999eda + 3d214b9 commit 3eb6cc0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,8 +564,10 @@ class FileDisplayActivity :
564564
ALL_FILES == action -> {
565565
Log_OC.d(this, "Switch to oc file fragment")
566566
menuItemId = R.id.nav_all_files
567-
leftFragment = OCFileListFragment()
568-
supportFragmentManager.executePendingTransactions()
567+
if (leftFragment !is OCFileListFragment) {
568+
leftFragment = OCFileListFragment()
569+
supportFragmentManager.executePendingTransactions()
570+
}
569571
browseToRoot()
570572
}
571573

0 commit comments

Comments
 (0)