mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Remove share_group_indicator string
This commit is contained in:
parent
ceffbc4aa8
commit
fcdef568ea
4 changed files with 3 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -244,6 +244,7 @@ public class ShareFileFragment extends Fragment {
|
|||
});
|
||||
}
|
||||
|
||||
// Call to Unshare operation
|
||||
private void unshareWith(OCShare share){
|
||||
OCFile file = ((FileActivity) getActivity()).getFile();
|
||||
|
||||
|
|
Loading…
Reference in a new issue