From 66968bb623ab26df0206aaa43601ddcc3863a741 Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 14 Nov 2016 18:55:17 +0100 Subject: [PATCH] simplify the config creation --- .../main/kotlin/com/simplemobiletools/filemanager/Config.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/filemanager/Config.kt b/app/src/main/kotlin/com/simplemobiletools/filemanager/Config.kt index 15d9a0ed..49e74aae 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/Config.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/Config.kt @@ -7,9 +7,7 @@ class Config(context: Context) { private val mPrefs: SharedPreferences companion object { - fun newInstance(context: Context): Config { - return Config(context) - } + fun newInstance(context: Context) = Config(context) } init {