mirror of https://github.com/M66B/FairEmail.git
Added on dismiss for error reporting / reviewing
This commit is contained in:
parent
5c9fbce89f
commit
3e742111f4
|
@ -2964,6 +2964,12 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||||
new FragmentDialogReporting().show(getParentFragmentManager(), "reporting");
|
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();
|
snackbar.show();
|
||||||
|
|
||||||
|
@ -3018,6 +3024,12 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||||
new FragmentDialogReview().show(getParentFragmentManager(), "review");
|
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();
|
snackbar.show();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue