restore copy bio
This commit is contained in:
parent
99a8e03578
commit
a0b43ce388
@ -573,6 +573,10 @@ public class ProfileFragment extends Fragment implements SwipeRefreshLayout.OnRe
|
|||||||
binding.mainBiography.setText(biography);
|
binding.mainBiography.setText(biography);
|
||||||
binding.mainBiography.setMentionClickListener(null);
|
binding.mainBiography.setMentionClickListener(null);
|
||||||
}
|
}
|
||||||
|
binding.mainBiography.setOnLongClickListener(v -> {
|
||||||
|
if (context != null) Utils.copyText(context, profileModel.getBiography());
|
||||||
|
return true;
|
||||||
|
});
|
||||||
|
|
||||||
final String url = profileModel.getUrl();
|
final String url = profileModel.getUrl();
|
||||||
if (TextUtils.isEmpty(url)) {
|
if (TextUtils.isEmpty(url)) {
|
||||||
@ -585,6 +589,7 @@ public class ProfileFragment extends Fragment implements SwipeRefreshLayout.OnRe
|
|||||||
|
|
||||||
binding.mainFullName.setSelected(true);
|
binding.mainFullName.setSelected(true);
|
||||||
binding.mainBiography.setEnabled(true);
|
binding.mainBiography.setEnabled(true);
|
||||||
|
binding.mainBiography.setClickable(true);
|
||||||
|
|
||||||
if (!profileModel.isReallyPrivate()) {
|
if (!profileModel.isReallyPrivate()) {
|
||||||
binding.mainFollowing.setClickable(true);
|
binding.mainFollowing.setClickable(true);
|
||||||
|
@ -82,7 +82,6 @@
|
|||||||
android:paddingTop="8dp"
|
android:paddingTop="8dp"
|
||||||
android:paddingEnd="4dp"
|
android:paddingEnd="4dp"
|
||||||
android:paddingRight="4dp"
|
android:paddingRight="4dp"
|
||||||
android:paddingBottom="8dp"
|
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
|
Loading…
Reference in New Issue
Block a user