mirror of
https://github.com/nextcloud/android.git
synced 2024-11-25 22:55:46 +03:00
rich workspace not in folder picker activity
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
9e6fa5c769
commit
a424706368
1 changed files with 1 additions and 1 deletions
|
@ -539,7 +539,7 @@ public class OCFileListFragment extends ExtendedListFragment implements
|
|||
|
||||
@Override
|
||||
public void onHeaderClicked() {
|
||||
if (!getAdapter().isMultiSelect()) {
|
||||
if (!getAdapter().isMultiSelect() && mContainerActivity instanceof FileDisplayActivity) {
|
||||
((FileDisplayActivity) mContainerActivity).startRichWorkspacePreview(getCurrentFile());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue