Skip to content

Commit

Permalink
fix log some messages
Browse files Browse the repository at this point in the history
  • Loading branch information
hg42 committed Oct 12, 2023
1 parent 3edaaa0 commit 84c32dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ fun PrefsGroup(
if (prefs.size > 0) {
prefs.forEachIndexed { index, pref ->
val value = remember(pref.toString()) { mutableStateOf(pref.toString()) }
traceDebug { "${pref.key} = $value" }
traceDebug { "${pref.key} = ${value.value}" }
PrefsBuilder(
pref,
onPrefDialog,
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/machiav3lli/backup/utils/UIUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
import kotlinx.coroutines.runBlocking
import timber.log.Timber
import java.util.*
import java.util.Locale

fun Context.setCustomTheme() {
AppCompatDelegate.setDefaultNightMode(getThemeStyleX(styleTheme))
Expand Down Expand Up @@ -126,7 +126,7 @@ fun Context.setLanguage(lang: String = ""): Configuration {
config.setLocale(newLocale)
Locale.setDefault(newLocale)
}
traceDebug { "Locale.===: ${config.locales} $${Locale.getDefault()}" }
traceDebug { "Locale.===: ${config.locales} ${Locale.getDefault()}" }

return config
}
Expand Down

0 comments on commit 84c32dd

Please sign in to comment.