mirror of
https://github.com/nextcloud/android.git
synced 2024-11-29 02:38:58 +03:00
hide sort/list group on previews
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
fdb4489e38
commit
e02b9adf8a
1 changed files with 2 additions and 0 deletions
|
@ -2144,6 +2144,7 @@ public class FileDisplayActivity extends FileActivity
|
|||
return; // not reachable under normal conditions
|
||||
}
|
||||
if (showPreview && file.isDown() && !file.isDownloading() || streamMedia) {
|
||||
showSortListGroup(false);
|
||||
Fragment mediaFragment = PreviewMediaFragment.newInstance(file, user.get(), startPlaybackPosition, autoplay);
|
||||
setSecondFragment(mediaFragment);
|
||||
updateFragmentsVisibility(true);
|
||||
|
@ -2197,6 +2198,7 @@ public class FileDisplayActivity extends FileActivity
|
|||
* @param folder {@link OCFile} to preview its rich workspace.
|
||||
*/
|
||||
public void startRichWorkspacePreview(OCFile folder) {
|
||||
showSortListGroup(false);
|
||||
Bundle args = new Bundle();
|
||||
args.putParcelable(EXTRA_FILE, folder);
|
||||
Fragment textPreviewFragment = Fragment.instantiate(getApplicationContext(),
|
||||
|
|
Loading…
Reference in a new issue