Skip to content

Commit 66968bb

Browse files
committed
simplify the config creation
1 parent e44ab98 commit 66968bb

File tree

1 file changed

+1
-3
lines changed
  • app/src/main/kotlin/com/simplemobiletools/filemanager

1 file changed

+1
-3
lines changed

app/src/main/kotlin/com/simplemobiletools/filemanager/Config.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ class Config(context: Context) {
77
private val mPrefs: SharedPreferences
88

99
companion object {
10-
fun newInstance(context: Context): Config {
11-
return Config(context)
12-
}
10+
fun newInstance(context: Context) = Config(context)
1311
}
1412

1513
init {

0 commit comments

Comments
 (0)