瀏覽代碼

fixes after rebase

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 4 年之前
父節點
當前提交
51365fa7c3

+ 0 - 5
src/main/java/com/owncloud/android/ui/fragment/FileDetailSharingFragment.java

@@ -121,9 +121,6 @@ public class FileDetailSharingFragment extends Fragment implements ShareeListAda
     @BindView(R.id.new_public_share)
     View addPublicShare;
 
-    @BindView(R.id.shareNoUsers)
-    TextView noList;
-
     @BindView(R.id.shared_with_you_container)
     LinearLayout sharedWithYouContainer;
 
@@ -242,13 +239,11 @@ public class FileDetailSharingFragment extends Fragment implements ShareeListAda
         ThemeUtils.themeSearchView(searchView, requireContext());
 
         if (file.canReshare()) {
-            setShareByLinkInfo(file.isSharedViaLink());
             setShareWithUserInfo();
         } else {
             searchView.setQueryHint(getResources().getString(R.string.reshare_not_allowed));
             searchView.setInputType(InputType.TYPE_NULL);
             disableSearchView(searchView);
-            shareByLinkContainer.setVisibility(View.GONE);
         }
     }
 

+ 0 - 1
src/main/res/layout/file_details_sharing_fragment.xml

@@ -18,7 +18,6 @@
   License along with this program.  If not, see <http://www.gnu.org/licenses/>.
 -->
 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
-    xmlns:app="http://schemas.android.com/apk/res-auto"
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
     android:layout_height="match_parent"