emoji_reactions: show the emoji in title

main
Alibek Omarov 5 years ago
parent 1c60313ae8
commit 7e10c531bc
  1. 2
      app/src/main/java/com/keylesspalace/tusky/AccountListActivity.kt
  2. 2
      app/src/main/res/values/husky.xml

@ -59,7 +59,7 @@ class AccountListActivity : BaseActivity(), HasAndroidInjector {
Type.FOLLOWS -> setTitle(R.string.title_follows)
Type.REBLOGGED -> setTitle(R.string.title_reblogged_by)
Type.FAVOURITED -> setTitle(R.string.title_favourited_by)
Type.REACTED -> setTitle(R.string.title_emoji_reacted_by)
Type.REACTED -> setTitle(String.format(getString(R.string.title_emoji_reacted_by), emoji))
}
setDisplayHomeAsUpEnabled(true)
setDisplayShowHomeEnabled(true)

@ -8,7 +8,7 @@
<string name="action_emoji_unreact">Remove reaction</string>
<string name="action_emoji_reacted_by">Who reacted</string>
<string name="title_emoji_reacted_by">Emoji reacted by</string>
<string name="title_emoji_reacted_by">%s reacted by</string>
<string name="hint_appname">Application name</string>
<string name="hint_website">Application website</string>

Loading…
Cancel
Save