mirror of https://github.com/M66B/FairEmail.git
Clear selection on show/hide snoozed messages
This commit is contained in:
parent
8810639c64
commit
146088170a
|
@ -2107,6 +2107,8 @@ public class FragmentMessages extends FragmentBase {
|
||||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
||||||
boolean snoozed = prefs.getBoolean("snoozed", false);
|
boolean snoozed = prefs.getBoolean("snoozed", false);
|
||||||
prefs.edit().putBoolean("snoozed", !snoozed).apply();
|
prefs.edit().putBoolean("snoozed", !snoozed).apply();
|
||||||
|
if (selectionTracker != null)
|
||||||
|
selectionTracker.clearSelection();
|
||||||
loadMessages();
|
loadMessages();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue