Fix copied text visibility

This commit is contained in:
Michael Schättgen 2024-03-15 21:34:59 +01:00
parent dfd720b406
commit 52ecf12576
5 changed files with 18 additions and 26 deletions

View file

@ -161,10 +161,6 @@ public class EntryHolder extends RecyclerView.ViewHolder {
profileNameLayoutParams.setMarginStart(0);
_profileName.setLayoutParams(profileNameLayoutParams);
_profileName.setVisibility(View.VISIBLE);
copiedLayoutParams = (RelativeLayout.LayoutParams) _profileCopied.getLayoutParams();
copiedLayoutParams.addRule(RelativeLayout.ABOVE, R.id.profile_account_name);
_profileCopied.setLayoutParams(copiedLayoutParams);
break;
case END:
@ -175,10 +171,6 @@ public class EntryHolder extends RecyclerView.ViewHolder {
profileNameLayoutParams.removeRule(RelativeLayout.BELOW);
_profileName.setLayoutParams(profileNameLayoutParams);
_profileName.setVisibility(View.VISIBLE);
copiedLayoutParams = (RelativeLayout.LayoutParams) _profileCopied.getLayoutParams();
copiedLayoutParams.addRule(RelativeLayout.ABOVE, R.id.description);
_profileCopied.setLayoutParams(copiedLayoutParams);
break;
}
}