Minor cleanup

This commit is contained in:
Jobobby04
2023-03-05 15:05:54 -05:00
parent 259b8f383f
commit 70b83e1061
4 changed files with 19 additions and 30 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ enum class EHLogLevel(@StringRes val nameRes: Int, @StringRes val description: I
fun init(context: Context) {
curLogLevel = PreferenceManager.getDefaultSharedPreferences(context)
.getInt("eh_log_level", 0) // todo
.getInt("eh_log_level", MINIMAL.ordinal) // todo
}
fun shouldLog(requiredLogLevel: EHLogLevel): Boolean {