Merge pull request #22 from lucasnlm/add-rating-title

Add title to rating dialog
This commit is contained in:
Lucas Nunes 2020-03-22 00:11:22 -03:00 committed by GitHub
commit 0ded6f3760
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 0 deletions

View file

@ -333,6 +333,7 @@ class GameActivity : DaggerAppCompatActivity() {
if (getString(R.string.rating_message).isNotEmpty()) {
AlertDialog.Builder(this)
.setTitle(R.string.rating)
.setMessage(R.string.rating_message)
.setPositiveButton(R.string.rating_button) { _, _ ->
openRateUsLink("Dialog")

View file

@ -87,6 +87,7 @@
<string name="settings_large_areas">Use áreas grandes</string>
<string name="settings_large_areas_desc">Aumenta el área táctil</string>
<string name="rating">Nos califica</string>
<string name="rating_menu">Nos califica ❤</string>
<string name="rating_message">Si te gusta este juego, danos un comentario. Nos ayudará mucho.</string>
<string name="rating_button">Si ❤️️️</string>

View file

@ -87,6 +87,7 @@
<string name="settings_large_areas">Usar Área Grande</string>
<string name="settings_large_areas_desc">Aumenta a área tocável</string>
<string name="rating">Avalie o app</string>
<string name="rating_menu">Avaliar o app ❤</string>
<string name="rating_message">Se você está gostando do jogo, por favor deixe um comentário! Isso nos ajuda muito.</string>
<string name="rating_button">Sim ❤️️️</string>

View file

@ -87,6 +87,7 @@
<string name="settings_large_areas">使用大面积</string>
<string name="settings_large_areas_desc"/>
<string name="rating">评价应用</string>
<string name="rating_menu">评价应用</string>
<string name="rating_message"/>
<string name="rating_button"/>

View file

@ -87,6 +87,7 @@
<string name="settings_large_areas">Use Large Areas</string>
<string name="settings_large_areas_desc">Increases the touch area</string>
<string name="rating">Feedback</string>
<string name="rating_menu">Feedback ❤</string>
<string name="rating_message">If you like this game, please give us a feedback. It will help us a lot.</string>
<string name="rating_button">Yes ❤️️️</string>