mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-30 00:17:58 +01:00
simplify the config creation
This commit is contained in:
parent
c524044d11
commit
8e61e46a90
1 changed files with 1 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue