pass just the context to Config

This commit is contained in:
tibbi 2017-11-07 19:34:54 +01:00
parent ae97c84bd8
commit e9393e0cfc
1 changed files with 1 additions and 1 deletions

View File

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