Code clean up

This commit is contained in:
Sad Ellie 2022-07-29 22:03:16 +03:00
parent 802ba20fde
commit 1fa59b7fc3
4 changed files with 1 additions and 4 deletions

View File

@ -355,7 +355,7 @@ class MainViewModel @Inject constructor(
* values recompose when actually needed. For example, when you change output format, composable * values recompose when actually needed. For example, when you change output format, composable
* in MainActivity will not be recomposed. * in MainActivity will not be recomposed.
*/ */
suspend private fun observePreferenceChanges() { private suspend fun observePreferenceChanges() {
userPrefsRepository.userPreferencesFlow.collect { userPrefsRepository.userPreferencesFlow.collect {
userPrefs = it userPrefs = it
convertValue() convertValue()

View File

@ -712,7 +712,6 @@
<!--Theme--> <!--Theme-->
<string name="theme_setting_support">App look and feel</string> <string name="theme_setting_support">App look and feel</string>
<string name="theme_setting_info">Your device supports custom Dynamic Theming implementation. Note that this feature may not work properly for some devices (default theme will be used).</string>
<string name="force_auto_mode">Auto</string> <string name="force_auto_mode">Auto</string>
<string name="force_light_mode">Light</string> <string name="force_light_mode">Light</string>
<string name="force_dark_mode">Dark</string> <string name="force_dark_mode">Dark</string>

View File

@ -518,7 +518,6 @@
<string name="allow_engineering">Разрешить инженерный</string> <string name="allow_engineering">Разрешить инженерный</string>
<string name="force_engineering">Преимущественно инженерный</string> <string name="force_engineering">Преимущественно инженерный</string>
<string name="theme_setting_support">Внешний вид приложения</string> <string name="theme_setting_support">Внешний вид приложения</string>
<string name="theme_setting_info">Ваше устройство поддерживает экспериментальную реализацию Динамических тем. Обратите внимание, что эта функция может работать некорректно на некоторых устройствах (будет использоваться тема по умолчанию).</string>
<string name="force_auto_mode">Автоматическая</string> <string name="force_auto_mode">Автоматическая</string>
<string name="force_light_mode">Светлая</string> <string name="force_light_mode">Светлая</string>
<string name="force_dark_mode">Темная</string> <string name="force_dark_mode">Темная</string>

View File

@ -986,7 +986,6 @@
<!--Theme--> <!--Theme-->
<string name="theme_setting_support">App look and feel</string> <string name="theme_setting_support">App look and feel</string>
<string name="theme_setting_info">Your device supports custom Dynamic Theming implementation. Note that this feature may not work properly for some devices (default theme will be used).</string>
<string name="force_auto_mode">Auto</string> <string name="force_auto_mode">Auto</string>
<string name="force_light_mode">Light</string> <string name="force_light_mode">Light</string>
<string name="force_dark_mode">Dark</string> <string name="force_dark_mode">Dark</string>