From e9393e0cfc11a9a48571efb2a26d2247fa753a17 Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 7 Nov 2017 19:34:54 +0100 Subject: [PATCH] pass just the context to Config --- .../kotlin/com/simplemobiletools/draw/extensions/context.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/draw/extensions/context.kt b/app/src/main/kotlin/com/simplemobiletools/draw/extensions/context.kt index 9bbad9f..d0d7871 100644 --- a/app/src/main/kotlin/com/simplemobiletools/draw/extensions/context.kt +++ b/app/src/main/kotlin/com/simplemobiletools/draw/extensions/context.kt @@ -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)