diff --git a/app/src/main/java/app/fedilab/android/mastodon/ui/drawer/StatusAdapter.java b/app/src/main/java/app/fedilab/android/mastodon/ui/drawer/StatusAdapter.java index 05cfc987..a351915f 100644 --- a/app/src/main/java/app/fedilab/android/mastodon/ui/drawer/StatusAdapter.java +++ b/app/src/main/java/app/fedilab/android/mastodon/ui/drawer/StatusAdapter.java @@ -731,7 +731,6 @@ public class StatusAdapter extends RecyclerView.Adapter } int truncate_toots_size = sharedpreferences.getInt(context.getString(R.string.SET_TRUNCATE_TOOTS_SIZE), 0); - if (extraFeatures) { if (displayQuote) { holder.binding.actionButtonQuote.setVisibility(View.VISIBLE); @@ -745,6 +744,10 @@ public class StatusAdapter extends RecyclerView.Adapter holder.binding.statusAddCustomEmoji.setVisibility(View.GONE); holder.binding.statusEmoji.setVisibility(View.GONE); } + } else { + holder.binding.actionButtonQuote.setVisibility(View.GONE); + holder.binding.statusAddCustomEmoji.setVisibility(View.GONE); + holder.binding.statusEmoji.setVisibility(View.GONE); } if (statusToDeal.markdownShown) { diff --git a/app/src/main/res/layouts/mastodon/drawable/baseline_code_24.xml b/app/src/main/res/layouts/mastodon/drawable/baseline_code_24.xml index 450b9e61..84b37a48 100644 --- a/app/src/main/res/layouts/mastodon/drawable/baseline_code_24.xml +++ b/app/src/main/res/layouts/mastodon/drawable/baseline_code_24.xml @@ -1,7 +1,7 @@ @@ -659,105 +658,112 @@ android:visibility="gone" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toEndOf="@+id/action_button_reply" + android:layout_marginEnd="10dp" tools:ignore="HardcodedText" tools:visibility="visible" /> - - - - - - - - - - - - + android:layout_height="wrap_content"> + + + + + + + + + + + - +