mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
chore: Disable FlexibleAdapter verbose log
This commit is contained in:
parent
629f1891f6
commit
a6e5b41d7d
1 changed files with 5 additions and 7 deletions
|
@ -34,8 +34,6 @@ import coil3.util.DebugLogger
|
||||||
import com.google.firebase.crashlytics.ktx.crashlytics
|
import com.google.firebase.crashlytics.ktx.crashlytics
|
||||||
import com.google.firebase.ktx.Firebase
|
import com.google.firebase.ktx.Firebase
|
||||||
import com.hippo.unifile.UniFile
|
import com.hippo.unifile.UniFile
|
||||||
import eu.davidea.flexibleadapter.FlexibleAdapter
|
|
||||||
import eu.davidea.flexibleadapter.utils.Log.Level
|
|
||||||
import eu.kanade.tachiyomi.appwidget.TachiyomiWidgetManager
|
import eu.kanade.tachiyomi.appwidget.TachiyomiWidgetManager
|
||||||
import eu.kanade.tachiyomi.core.preference.Preference
|
import eu.kanade.tachiyomi.core.preference.Preference
|
||||||
import eu.kanade.tachiyomi.core.preference.PreferenceStore
|
import eu.kanade.tachiyomi.core.preference.PreferenceStore
|
||||||
|
@ -141,11 +139,11 @@ open class App : Application(), DefaultLifecycleObserver, SingletonImageLoader.F
|
||||||
.onEach { ImageUtil.hardwareBitmapThreshold = it }
|
.onEach { ImageUtil.hardwareBitmapThreshold = it }
|
||||||
.launchIn(scope)
|
.launchIn(scope)
|
||||||
|
|
||||||
networkPreferences.verboseLogging().changes()
|
// networkPreferences.verboseLogging().changes()
|
||||||
.onEach { enabled ->
|
// .onEach { enabled ->
|
||||||
FlexibleAdapter.enableLogs(if (enabled) Level.VERBOSE else Level.SUPPRESS)
|
// FlexibleAdapter.enableLogs(if (enabled) Level.VERBOSE else Level.SUPPRESS)
|
||||||
}
|
// }
|
||||||
.launchIn(scope)
|
// .launchIn(scope)
|
||||||
|
|
||||||
scope.launchIO {
|
scope.launchIO {
|
||||||
with(TachiyomiWidgetManager()) { this@App.init() }
|
with(TachiyomiWidgetManager()) { this@App.init() }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue