Remove share_group_indicator string

This commit is contained in:
masensio 2015-10-21 09:40:39 +02:00 committed by David A. Velasco
parent ceffbc4aa8
commit fcdef568ea
4 changed files with 3 additions and 2 deletions

View file

@ -371,7 +371,6 @@
<string name="share_no_users">No data shared with users yet</string>
<string name="share_add_user_or_group">Add User or Group</string>
<string name="share_search">Search</string>
<string name="share_group_indicator">(group)</string>
<string name="search_users_and_groups_hint">Search users and groups</string>
<string name="share_group_clarification">%1$s (group)</string>

View file

@ -75,7 +75,7 @@ public class ShareUserListAdapter extends ArrayAdapter {
TextView userName = (TextView) view.findViewById(R.id.userOrGroupName);
String name = share.getSharedWithDisplayName();
if (share.getShareType() == ShareType.GROUP) {
name = name + mContext.getResources().getString(R.string.share_group_indicator);
name = getContext().getString(R.string.share_group_clarification, name);
}
userName.setText(name);

View file

@ -2,6 +2,7 @@
* ownCloud Android client application
*
* @author masensio
* @author David A. Velasco
* Copyright (C) 2015 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify

View file

@ -244,6 +244,7 @@ public class ShareFileFragment extends Fragment {
});
}
// Call to Unshare operation
private void unshareWith(OCShare share){
OCFile file = ((FileActivity) getActivity()).getFile();