Skip to content
Snippets Groups Projects
Verified Commit b885e49b authored by Torsten Grote's avatar Torsten Grote
Browse files

Don't indicate that we are sharing with ourselves in group memberlist

parent 63da8606
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@ import org.briarproject.api.nullsafety.NotNullByDefault;
import static android.view.View.INVISIBLE;
import static android.view.View.VISIBLE;
import static org.briarproject.api.identity.Author.Status.OURSELVES;
@UiThread
@NotNullByDefault
......@@ -28,7 +29,7 @@ class MemberListItemHolder extends RecyclerView.ViewHolder {
protected void bind(MemberListItem item) {
author.setAuthor(item.getMember());
author.setAuthorStatus(item.getStatus());
if (item.isSharing()) {
if (item.isSharing() && item.getStatus() != OURSELVES) {
sharing.setVisibility(VISIBLE);
} else {
sharing.setVisibility(INVISIBLE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment