mirror of
https://github.com/nextcloud/android.git
synced 2024-11-29 10:49:04 +03:00
Merge pull request #6351 from nextcloud/castException
rich workspace not in folder picker activity
This commit is contained in:
commit
3e05624064
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