We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e999eda + 3d214b9 commit 3eb6cc0Copy full SHA for 3eb6cc0
app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.kt
@@ -564,8 +564,10 @@ class FileDisplayActivity :
564
ALL_FILES == action -> {
565
Log_OC.d(this, "Switch to oc file fragment")
566
menuItemId = R.id.nav_all_files
567
- leftFragment = OCFileListFragment()
568
- supportFragmentManager.executePendingTransactions()
+ if (leftFragment !is OCFileListFragment) {
+ leftFragment = OCFileListFragment()
569
+ supportFragmentManager.executePendingTransactions()
570
+ }
571
browseToRoot()
572
}
573
0 commit comments