add content description to account subscription button (#2076)
This commit is contained in:
parent
e3b79097d4
commit
d2a8254d4f
2 changed files with 5 additions and 0 deletions
|
@ -623,8 +623,10 @@ class AccountActivity : BottomSheetActivity(), ActionButtonActivity, HasAndroidI
|
|||
|
||||
if(subscribing) {
|
||||
accountSubscribeButton.setIconResource(R.drawable.ic_notifications_active_24dp)
|
||||
accountSubscribeButton.contentDescription = getString(R.string.action_unsubscribe_account)
|
||||
} else {
|
||||
accountSubscribeButton.setIconResource(R.drawable.ic_notifications_24dp)
|
||||
accountSubscribeButton.contentDescription = getString(R.string.action_subscribe_account)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -611,4 +611,7 @@
|
|||
<string name="drafts_failed_loading_reply">Failed loading Reply information</string>
|
||||
<string name="draft_deleted">Draft deleted</string>
|
||||
<string name="drafts_toot_reply_removed">The Toot you drafted a reply to has been removed</string>
|
||||
|
||||
<string name="action_subscribe_account">Subscribe</string>
|
||||
<string name="action_unsubscribe_account">Unsubscribe</string>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in a new issue