Skip to content

Commit

Permalink
braille-systems#278 always announce dots reflection
Browse files Browse the repository at this point in the history
  • Loading branch information
zuevval committed Oct 3, 2020
1 parent 1f3c090 commit 1ac762b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,12 @@ class BrailleDotsView : ConstraintLayout, KoinComponent {
Timber.w("API level < 22, unable co control accessibility traversal order")
}

runIf(preferenceRepository.additionalAnnouncementsEnabled) {
context.announce(
when (mode) {
Writing -> context.getString(R.string.braille_dots_mode_writing)
Reading -> context.getString(R.string.braille_dots_mode_reading)
}
)
}
context.announce(
when (mode) {
Writing -> context.getString(R.string.braille_dots_mode_writing)
Reading -> context.getString(R.string.braille_dots_mode_reading)
}
)

this.mode = mode
}
Expand Down
10 changes: 0 additions & 10 deletions app/src/main/res/drawable/to_progress.xml

This file was deleted.

0 comments on commit 1ac762b

Please sign in to comment.