simplify the config creation

This commit is contained in:
tibbi 2016-11-14 18:55:17 +01:00
parent e44ab98e65
commit 66968bb623
1 changed files with 1 additions and 3 deletions

View File

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