simplify the config creation

This commit is contained in:
tibbi 2016-11-14 18:55:48 +01:00
parent c524044d11
commit 8e61e46a90

View file

@ -8,9 +8,7 @@ class Config private constructor(context: Context) {
private val mPrefs: SharedPreferences
companion object {
fun newInstance(context: Context): Config {
return Config(context)
}
fun newInstance(context: Context) = Config(context)
}
init {