Merge "Fix stack education showing every time"

This commit is contained in:
TreeHugger Robot
2020-10-14 20:24:48 +00:00
committed by Android (Google) Code Review

View File

@@ -128,7 +128,7 @@ class StackEducationView constructor(context: Context) : LinearLayout(context) {
private fun setShouldShow(shouldShow: Boolean) {
context.getSharedPreferences(context.packageName, Context.MODE_PRIVATE)
.edit().putBoolean(PREF_MANAGED_EDUCATION, !shouldShow).apply()
.edit().putBoolean(PREF_STACK_EDUCATION, !shouldShow).apply()
}
}