forked from upstream-mirrors/quik
Update ContentDescriptions for QK Reply and nav drawer
This commit is contained in:
@@ -96,7 +96,7 @@ class MainActivity : QkThemedActivity(), MainView {
|
||||
override val backPressedIntent: Subject<Unit> = PublishSubject.create()
|
||||
|
||||
private val viewModel by lazy { ViewModelProviders.of(this, viewModelFactory)[MainViewModel::class.java] }
|
||||
private val toggle by lazy { ActionBarDrawerToggle(this, drawerLayout, toolbar, 0, 0) }
|
||||
private val toggle by lazy { ActionBarDrawerToggle(this, drawerLayout, toolbar, R.string.main_drawer_open_cd, 0) }
|
||||
private val itemTouchHelper by lazy { ItemTouchHelper(itemTouchCallback) }
|
||||
private val archiveSnackbar by lazy {
|
||||
Snackbar.make(drawerLayout, R.string.toast_archived, Snackbar.LENGTH_INDEFINITE).apply {
|
||||
|
||||
@@ -110,6 +110,7 @@ class QkReplyActivity : QkThemedActivity(), QkReplyView {
|
||||
counter.setVisible(counter.text.isNotBlank())
|
||||
|
||||
sim.setVisible(state.subscription != null)
|
||||
sim.contentDescription = getString(R.string.compose_sim_cd, state.subscription?.displayName)
|
||||
simIndex.text = "${state.subscription?.simSlotIndex?.plus(1)}"
|
||||
|
||||
send.isEnabled = state.canSend
|
||||
|
||||
Reference in New Issue
Block a user