mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
feat: add high-contrast theme with accessible message bubbles (#5135)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
f48fc61729
commit
fa63a4ac50
19 changed files with 328 additions and 65 deletions
|
|
@ -84,6 +84,12 @@ class FakeUiPrefs : UiPrefs {
|
|||
theme.value = value
|
||||
}
|
||||
|
||||
override val contrastLevel = MutableStateFlow(0)
|
||||
|
||||
override fun setContrastLevel(value: Int) {
|
||||
contrastLevel.value = value
|
||||
}
|
||||
|
||||
override val locale = MutableStateFlow("en")
|
||||
|
||||
override fun setLocale(languageTag: String) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue