Skip to content

Commit

Permalink
fix(restriction-confirmation-sheet): make secondary button appear on …
Browse files Browse the repository at this point in the history
…top of primary button

This is the first part of the chore to readd the mute timer thing
  • Loading branch information
LucasGGamerM committed Apr 7, 2024
1 parent da3c19c commit 24be1c6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions mastodon/src/main/res/layout/sheet_restrict_account.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@
android:layout_height="wrap_content"
android:layout_marginBottom="8dp">
<org.joinmastodon.android.ui.views.ProgressBarButton
android:id="@+id/btn_confirm"
android:id="@+id/btn_secondary"
android:layout_width="match_parent"
android:layout_height="40dp"
style="@style/Widget.Mastodon.M3.Button.Filled"
app:progressBar="@id/confirm_progress"
style="@style/Widget.Mastodon.M3.Button.Tonal"
app:progressBar="@id/secondary_progress"
tools:text="@string/got_it"/>
<ProgressBar
android:id="@+id/confirm_progress"
android:id="@+id/secondary_progress"
style="?android:progressBarStyleSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
Expand All @@ -93,14 +93,14 @@
android:layout_height="wrap_content"
android:layout_marginBottom="8dp">
<org.joinmastodon.android.ui.views.ProgressBarButton
android:id="@+id/btn_secondary"
android:id="@+id/btn_confirm"
android:layout_width="match_parent"
android:layout_height="40dp"
style="@style/Widget.Mastodon.M3.Button.Tonal"
app:progressBar="@id/secondary_progress"
style="@style/Widget.Mastodon.M3.Button.Filled"
app:progressBar="@id/confirm_progress"
tools:text="@string/got_it"/>
<ProgressBar
android:id="@+id/secondary_progress"
android:id="@+id/confirm_progress"
style="?android:progressBarStyleSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
Expand Down

0 comments on commit 24be1c6

Please sign in to comment.