mirror of https://github.com/M66B/FairEmail.git
Allow swiping third party notification away
This commit is contained in:
parent
31a5325a89
commit
a3e72230b1
|
@ -3386,6 +3386,12 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||||
prefs.edit().putBoolean("third_party_notified", true).apply();
|
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();
|
snackbar.show();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue