Skip to content

Commit 0b07e5d

Browse files
committed
fixes
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
1 parent 1bad1ac commit 0b07e5d

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,6 +1333,7 @@ class FileDisplayActivity :
13331333
}
13341334
highlightNavigationViewItem(menuItemId)
13351335

1336+
13361337
if (SettingsActivity.isBackPressed) {
13371338
Log_OC.d(TAG, "User returned from settings activity, skipping reset content logic")
13381339
return
@@ -1349,9 +1350,10 @@ class FileDisplayActivity :
13491350
return
13501351
}
13511352

1353+
if (isToolbarStyleSearch) {
1354+
setupHomeSearchToolbarWithSortAndListButtons()
1355+
}
13521356
val ocFileListFragment = leftFragment
1353-
1354-
13551357
syncAndUpdateFolder(ignoreETag = true, ignoreFocus = true)
13561358

13571359
// Try to get the OCFile from the intent, if one was provided when launching this activity.
@@ -1361,8 +1363,6 @@ class FileDisplayActivity :
13611363
file = it
13621364
}
13631365

1364-
1365-
13661366
// refresh list of files
13671367
if (searchView != null && !TextUtils.isEmpty(searchQuery)) {
13681368
searchView?.setQuery(searchQuery, false)
@@ -1374,7 +1374,6 @@ class FileDisplayActivity :
13741374
updateActionBarTitleAndHomeButton(startFile)
13751375
}
13761376

1377-
13781377
// show in-app review dialog to user
13791378
inAppReviewHelper.showInAppReview(this)
13801379

0 commit comments

Comments
 (0)