mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-23 17:01:02 +00:00
chore: addressing SetTextI18n
This commit is contained in:
@@ -151,7 +151,10 @@ class App : MultiDexApplication() {
|
||||
}
|
||||
|
||||
companion object {
|
||||
private var instance: App? = null
|
||||
/** Reference to the application context.
|
||||
*
|
||||
* USE WITH EXTREME CAUTION!**/
|
||||
var instance: App? = null
|
||||
var context: Context? = null
|
||||
fun currentContext(): Context? {
|
||||
return instance?.mFTActivityLifecycleCallbacks?.currentActivity ?: context
|
||||
|
||||
Reference in New Issue
Block a user