make the shared prefs variable protected
This commit is contained in:
parent
fc47632fd1
commit
de6b522130
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ import com.simplemobiletools.commons.R
|
|||
import com.simplemobiletools.commons.extensions.getSharedPrefs
|
||||
|
||||
open class BaseConfig(val context: Context) {
|
||||
private val prefs: SharedPreferences
|
||||
protected val prefs: SharedPreferences
|
||||
|
||||
companion object {
|
||||
fun newInstance(context: Context) = BaseConfig(context)
|
||||
|
|
Loading…
Reference in a new issue