pass just the context to Config

This commit is contained in:
tibbi 2017-11-07 19:34:54 +01:00
parent ae97c84bd8
commit e9393e0cfc

View file

@ -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)