Skip to content

Commit

Permalink
Fixed SharedPrefsHelpers.kt with init context
Browse files Browse the repository at this point in the history
  • Loading branch information
Jéluchu committed Jan 30, 2022
1 parent 51d81d2 commit 8d301a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class SharedPrefsHelpers {
private set
private var mSharedPreferences: SharedPreferences? = null

fun init(context: Context?) {
fun init(context: Context) {
mSharedPreferences = PreferenceManager.getDefaultSharedPreferences(context)
}

Expand Down

0 comments on commit 8d301a8

Please sign in to comment.