Re-schedule EHentai updater job on app boot

Idle-until-urgent some stuff in app init
Close debug menu onStop
This commit is contained in:
NerdNumber9
2019-08-12 21:09:39 -04:00
parent 7a3f6e9f63
commit d5f4db5eb7
3 changed files with 95 additions and 16 deletions
@@ -1,6 +1,7 @@
package exh.debug
import android.annotation.SuppressLint
import android.app.Activity
import android.support.v7.preference.PreferenceScreen
import android.text.Html
import android.util.Log
@@ -64,6 +65,11 @@ class SettingsDebugController : SettingsController() {
}
}
override fun onActivityStopped(activity: Activity) {
super.onActivityStopped(activity)
router.popCurrentController()
}
companion object {
private val MODIFIED_TEXT = Html.fromHtml("<font color='red'>MODIFIED</font>")
}