File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
owncloudApp/src/main/java/com/owncloud/android/ui/activity Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1168,6 +1168,10 @@ class FileDisplayActivity : FileActivity(),
11681168 val fileListFragment = mainFileListFragment
11691169 ? : supportFragmentManager.findFragmentById(R .id.left_fragment_container) as ? MainFileListFragment
11701170 fileListFragment?.navigateToFolderId(targetFolderId)
1171+ val targetFolderSpace = spacesListViewModel.spacesList.value.spaces.find {
1172+ it.id == copyMoveTargetFolder?.spaceId
1173+ }
1174+ updateBottombar(targetFolderSpace)
11711175 },
11721176 layoutId = R .id.list_layout
11731177 )
@@ -1891,8 +1895,6 @@ class FileDisplayActivity : FileActivity(),
18911895
18921896 override fun onCurrentFolderUpdated (newCurrentFolder : OCFile , currentSpace : OCSpace ? ) {
18931897 updateToolbar(newCurrentFolder, currentSpace)
1894- val newCurrentFolderSpace = spacesListViewModel.spacesList.value.spaces.find { it.id == newCurrentFolder.spaceId }
1895- updateBottombar(newCurrentFolderSpace)
18961898 file = newCurrentFolder
18971899 }
18981900
You can’t perform that action at this time.
0 commit comments