Skip to content

Commit

Permalink
[Android] Explicitly specified button type for rewards panel
Browse files Browse the repository at this point in the history
Otherwise it falls back to MaterialButton and causes styling issues.
  • Loading branch information
samartnik authored and mkarolin committed Dec 7, 2021
1 parent 15c8251 commit 4c7bfd6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions android/java/res/layout/brave_rewards_panel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
android:orientation="vertical"
android:visibility="gone"/>

<Button
<android.widget.Button
android:id="@+id/send_a_tip"
android:layout_height="50dp"
android:layout_width="fill_parent"
Expand All @@ -227,7 +227,7 @@

</GridLayout>

<Button
<android.widget.Button
android:id="@+id/rewards_summary"
android:layout_height="50dp"
android:layout_width="fill_parent"
Expand Down
6 changes: 3 additions & 3 deletions android/java/res/layout/brave_rewards_panel_header.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
android:layout_columnSpan="2"
android:visibility="visible"/>

<Button
<android.widget.Button
android:id="@+id/btn_verify_wallet"
android:layout_height="25dp"
android:layout_width="wrap_content"
Expand Down Expand Up @@ -165,7 +165,7 @@
android:gravity="center"
android:layout_gravity="center">

<Button
<android.widget.Button
android:id="@+id/br_add_funds"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
Expand All @@ -184,7 +184,7 @@
android:visibility="gone"
tools:ignore="ButtonStyle"/>

<Button
<android.widget.Button
android:id="@+id/br_rewards_settings"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
Expand Down

0 comments on commit 4c7bfd6

Please sign in to comment.