From 4902bcc027aab7f2fad4be2bb60cff253a040272 Mon Sep 17 00:00:00 2001 From: parneet-guraya Date: Wed, 25 Oct 2023 01:26:43 +0530 Subject: [PATCH] suggested changes Signed-off-by: parneet-guraya --- .../com/owncloud/android/ui/activity/FileDisplayActivity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java b/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java index 97ec8c4f4be3..0311233e5cfb 100644 --- a/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java +++ b/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java @@ -629,7 +629,9 @@ private void setLeftFragment(Fragment fragment, boolean showSortListGroup) { //clear the subtitle while navigating to any other screen from Media screen clearToolbarSubtitle(); + setSortListGroup(sortListGroupVisibility(), showSortListGroup); + FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); transaction.addToBackStack(null); transaction.replace(R.id.left_fragment_container, fragment, TAG_LIST_OF_FILES);