make the shared prefs variable protected

This commit is contained in:
tibbi 2016-12-26 20:41:44 +01:00
parent fc47632fd1
commit de6b522130

View file

@ -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)