mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-09-19 20:18:42 -04:00
simplify the config creation
This commit is contained in:
1 parent
e44ab98e65
commit
66968bb623
1 file changed
+1
-3
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user