mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Fixed build
This commit is contained in:
parent
fb6047a72c
commit
8d48929f5b
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ public class FileMenuFilter {
|
|||
// SHARE FILE
|
||||
// TODO add check on SHARE available on server side?
|
||||
boolean shareAllowed = (mContext != null &&
|
||||
mContext.getString(R.string.share_link).equalsIgnoreCase("on"));
|
||||
mContext.getString(R.string.share_feature).equalsIgnoreCase("on"));
|
||||
if (!shareAllowed || mFile == null) {
|
||||
toHide.add(R.id.action_share_file);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue