mirror of
https://github.com/Myzel394/NumberHub.git
synced 2025-06-19 08:45:27 +02:00
Code clean up
This commit is contained in:
parent
802ba20fde
commit
1fa59b7fc3
@ -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()
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user