Browse Source

Fixed build

David A. Velasco 10 years ago
parent
commit
8d48929f5b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/com/owncloud/android/files/FileMenuFilter.java

+ 1 - 1
src/com/owncloud/android/files/FileMenuFilter.java

@@ -217,7 +217,7 @@ public class FileMenuFilter {
         // SHARE FILE 
         // SHARE FILE 
         // TODO add check on SHARE available on server side?
         // TODO add check on SHARE available on server side?
         boolean shareAllowed = (mContext != null  &&
         boolean shareAllowed = (mContext != null  &&
-                mContext.getString(R.string.share_link).equalsIgnoreCase("on"));
+                mContext.getString(R.string.share_feature).equalsIgnoreCase("on"));
         if (!shareAllowed || mFile == null) {
         if (!shareAllowed || mFile == null) {
             toHide.add(R.id.action_share_file);
             toHide.add(R.id.action_share_file);
         } else {
         } else {