Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Revert "use tonal background for see new posts button"
Browse files Browse the repository at this point in the history
This reverts commit 8009dc0.
  • Loading branch information
sk22 committed Oct 20, 2023
1 parent 8009dc0 commit ff99e10
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mastodon/src/main/res/layout/home_toolbar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,18 @@
style="@style/Widget.Mastodon.M3.Button.Tonal.Icon"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:background="@drawable/bg_button_m3_tonal_selector"
android:maxLines="1"
android:ellipsize="end"
android:textAppearance="@style/m3_title_medium"
android:textSize="16sp"
android:text="@string/see_new_posts"
android:drawableStart="@drawable/ic_fluent_arrow_up_16_filled"
android:layout_gravity="center" />
<!--
using the selector background because..
the selected=false state's border looks better than the one from the outline style
(as per m3 spec) :( i should probably fix this at some point
-->
</FrameLayout>
</FrameLayout>

0 comments on commit ff99e10

Please sign in to comment.