Send thanks button in more details fragment (#5424)

* Send thanks button in more details fragment

* failing test fix

* suggested fix
This commit is contained in:
Srishti Rohatgi 2024-01-23 19:25:16 +05:30 committed by GitHub
parent 3c1cdf18a1
commit 495d001dc9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 109 additions and 6 deletions

View file

@ -464,6 +464,16 @@
android:text="@string/copy_wikicode"
android:textColor="@color/primaryTextColor" />
<Button
android:id="@+id/sendThanks"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/standard_gap"
android:layout_marginEnd="@dimen/standard_gap"
android:background="@drawable/bg_copy_wikitext_button"
android:text="@string/send_thanks_to_author"
android:textColor="@color/primaryTextColor" />
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"

View file

@ -787,6 +787,8 @@ Upload your first media by tapping on the add button.</string>
<string name="learn_how_to_write_a_useful_description">Learn how to write a useful description</string>
<string name="learn_how_to_write_a_useful_caption">Learn how to write a useful caption</string>
<string name="see_your_achievements">See your achievements</string>
<string name="send_thanks_to_author">Thank the author</string>
<string name="error_sending_thanks">Error sending thanks to author.</string>
<plurals name="custom_picker_images_selected_title_appendix">
<item quantity="one">%d image selected</item>
<item quantity="other">%d images selected</item>