pass just the context to Config
This commit is contained in:
parent
ae97c84bd8
commit
e9393e0cfc
1 changed files with 1 additions and 1 deletions
|
@ -3,4 +3,4 @@ package com.simplemobiletools.draw.extensions
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import com.simplemobiletools.draw.helpers.Config
|
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 a new issue