2
0
Fork 1
mirror of https://github.com/FossifyOrg/Gallery.git synced 2025-04-05 02:59:42 +02:00

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 {