mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-01-01 04:01:11 -05:00
simplify the config creation
This commit is contained in:
@@ -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