mirror of
https://gitlab.shinice.net/pixeldroid/PixelDroid
synced 2024-12-11 07:55:25 +01:00
Remove username below profile pic
This commit is contained in:
parent
d67d57b68c
commit
1b05eeedea
@ -156,9 +156,7 @@ class ProfileActivity : BaseActivity() {
|
||||
lifecycleScope
|
||||
)
|
||||
|
||||
val displayName = account.getusername()
|
||||
|
||||
binding.accountNameTextView.text = displayName
|
||||
val displayName = account.getDisplayName()
|
||||
|
||||
supportActionBar?.title = displayName
|
||||
if(displayName != "@${account.acct}") {
|
||||
|
@ -65,19 +65,6 @@
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/nbFollowersTextView" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/accountNameTextView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:text="@string/no_username"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/profilePictureImageView" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/descriptionTextView"
|
||||
@ -88,7 +75,7 @@
|
||||
android:layout_marginRight="20dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/accountNameTextView" />
|
||||
app:layout_constraintTop_toBottomOf="@id/profilePictureImageView" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/followButton"
|
||||
|
Loading…
Reference in New Issue
Block a user