<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>
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);
* 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
});
}
+ // Call to Unshare operation
private void unshareWith(OCShare share){
OCFile file = ((FileActivity) getActivity()).getFile();