mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 17:57:16 +00:00
Added on dismiss for error reporting / reviewing
This commit is contained in:
parent
5c9fbce89f
commit
3e742111f4
1 changed files with 12 additions and 0 deletions
|
@ -2964,6 +2964,12 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
new FragmentDialogReporting().show(getParentFragmentManager(), "reporting");
|
||||
}
|
||||
});
|
||||
snackbar.addCallback(new Snackbar.Callback() {
|
||||
@Override
|
||||
public void onDismissed(Snackbar transientBottomBar, int event) {
|
||||
prefs.edit().putBoolean("crash_reports_asked", true).apply();
|
||||
}
|
||||
});
|
||||
|
||||
snackbar.show();
|
||||
|
||||
|
@ -3018,6 +3024,12 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
new FragmentDialogReview().show(getParentFragmentManager(), "review");
|
||||
}
|
||||
});
|
||||
snackbar.addCallback(new Snackbar.Callback() {
|
||||
@Override
|
||||
public void onDismissed(Snackbar transientBottomBar, int event) {
|
||||
prefs.edit().putLong("review_later", new Date().getTime()).apply();
|
||||
}
|
||||
});
|
||||
|
||||
snackbar.show();
|
||||
|
||||
|
|
Loading…
Reference in a new issue