Clear publicPrefs too

pull/1004/head
Alex Baker 4 years ago
parent cc0cc79d09
commit e4315ed551

@ -158,6 +158,7 @@ class Preferences @JvmOverloads constructor(private val context: Context, name:
@SuppressLint("ApplySharedPref") @SuppressLint("ApplySharedPref")
fun clear() { fun clear() {
publicPrefs.edit().clear().commit()
prefs.edit().clear().commit() prefs.edit().clear().commit()
} }

Loading…
Cancel
Save