mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Allow swiping third party notification away
This commit is contained in:
parent
31a5325a89
commit
a3e72230b1
1 changed files with 6 additions and 0 deletions
|
@ -3386,6 +3386,12 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
prefs.edit().putBoolean("third_party_notified", true).apply();
|
||||
}
|
||||
});
|
||||
snackbar.addCallback(new Snackbar.Callback() {
|
||||
@Override
|
||||
public void onDismissed(Snackbar transientBottomBar, int event) {
|
||||
prefs.edit().putBoolean("third_party_notified", true).apply();
|
||||
}
|
||||
});
|
||||
snackbar.show();
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue