mirror of
https://github.com/mihonapp/mihon.git
synced 2025-07-01 21:47:50 +02:00
Upgrade realm
Update proguard file so we could potentially enable proguard in the future Update dependencies Downgrade duktape to fix MangaPlus Remove useless dependencies Remove useless tabGravity Fix debug version crashing in background
This commit is contained in:
@ -188,12 +188,17 @@ open class App : Application() {
|
||||
|
||||
// EXH
|
||||
private fun setupDebugOverlay() {
|
||||
DebugOverlay.Builder(this)
|
||||
.modules(FpsModule(), EHDebugModeOverlay(this))
|
||||
.bgColor(Color.parseColor("#7F000000"))
|
||||
.notification(false)
|
||||
.allowSystemLayer(false)
|
||||
.build()
|
||||
.install()
|
||||
try {
|
||||
DebugOverlay.Builder(this)
|
||||
.modules(FpsModule(), EHDebugModeOverlay(this))
|
||||
.bgColor(Color.parseColor("#7F000000"))
|
||||
.notification(false)
|
||||
.allowSystemLayer(false)
|
||||
.build()
|
||||
.install()
|
||||
} catch(e: IllegalStateException) {
|
||||
// Crashes if app is in background
|
||||
XLog.e("Failed to initialize debug overlay, app in background?", e)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user