mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 16:50:04 +02:00
Allow to mute and unmute own user from Home timeline
This commit is contained in:
parent
f6483c0ccb
commit
9375abffd3
1 changed files with 6 additions and 2 deletions
|
@ -152,11 +152,15 @@ public class AccountAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder
|
|||
if (account.relationShip.id.compareToIgnoreCase(BaseMainActivity.currentUserID) == 0) {
|
||||
doAction = ProfileActivity.action.NOTHING;
|
||||
accountViewHolder.binding.followAction.setVisibility(View.GONE);
|
||||
accountViewHolder.binding.muteGroup.setVisibility(View.GONE);
|
||||
accountViewHolder.binding.muteNotification.setVisibility(View.GONE);
|
||||
accountViewHolder.binding.muteTimed.setVisibility(View.GONE);
|
||||
accountViewHolder.binding.mute.setVisibility(View.GONE);
|
||||
accountViewHolder.binding.block.setVisibility(View.GONE);
|
||||
} else {
|
||||
accountViewHolder.binding.followAction.setVisibility(View.VISIBLE);
|
||||
accountViewHolder.binding.muteGroup.setVisibility(View.VISIBLE);
|
||||
accountViewHolder.binding.muteNotification.setVisibility(View.VISIBLE);
|
||||
accountViewHolder.binding.muteTimed.setVisibility(View.VISIBLE);
|
||||
accountViewHolder.binding.mute.setVisibility(View.VISIBLE);
|
||||
accountViewHolder.binding.block.setVisibility(View.VISIBLE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue