Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2b14a77 authored by Mady Mellor's avatar Mady Mellor
Browse files

Fix stack education showing every time

A small regression from the recent migration changes.

Test: manual - new flash, post some bubbles, notice you see stack
               education for first tap on the stack but not subsequent taps
Bug: 161980186

Change-Id: Ia3fda22e002a3cdbef085ceb6c1d7dd58e1d939a
parent 02e40de6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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()
    }
}