mirror of
https://github.com/nextcloud/android.git
synced 2024-11-28 02:06:56 +03:00
Revert changes for OCFileListFragment
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
1ab8055cd4
commit
82fad97155
1 changed files with 3 additions and 2 deletions
|
@ -421,7 +421,8 @@ public class OCFileListFragment extends ExtendedListFragment implements
|
|||
setTitle();
|
||||
|
||||
FragmentActivity fragmentActivity;
|
||||
if ((fragmentActivity = getActivity()) != null && fragmentActivity instanceof FileDisplayActivity fileDisplayActivity) {
|
||||
if ((fragmentActivity = getActivity()) != null && fragmentActivity instanceof FileDisplayActivity) {
|
||||
FileDisplayActivity fileDisplayActivity = (FileDisplayActivity) fragmentActivity;
|
||||
fileDisplayActivity.updateActionBarTitleAndHomeButton(fileDisplayActivity.getCurrentDir());
|
||||
}
|
||||
listDirectory(MainApp.isOnlyOnDevice(), false);
|
||||
|
@ -560,7 +561,7 @@ public class OCFileListFragment extends ExtendedListFragment implements
|
|||
getActivity(),
|
||||
((FileActivity) getActivity()).getUser().orElseThrow(RuntimeException::new),
|
||||
FileDisplayActivity.REQUEST_CODE__SELECT_FILES_FROM_FILE_SYSTEM,
|
||||
getCurrentFile().isEncrypted()
|
||||
getCurrentFile().isEncrypted()
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue