pass just the context to Config
This commit is contained in:
parent
ae97c84bd8
commit
e9393e0cfc
|
@ -3,4 +3,4 @@ package com.simplemobiletools.draw.extensions
|
|||
import android.content.Context
|
||||
import com.simplemobiletools.draw.helpers.Config
|
||||
|
||||
val Context.config: Config get() = Config.newInstance(this)
|
||||
val Context.config: Config get() = Config.newInstance(applicationContext)
|
||||
|
|
Loading…
Reference in New Issue