mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 00:23:09 +02:00
Allow swiping third party notification away
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user