mirror of https://github.com/M66B/FairEmail.git
Added fail-safe
This commit is contained in:
parent
4928d41226
commit
12a3e4de95
|
@ -7238,8 +7238,8 @@ public class FragmentCompose extends FragmentBase {
|
|||
feedback = context.getString(R.string.title_queued_at, DTF.format(draft.ui_snoozed));
|
||||
}
|
||||
|
||||
getMainHandler().post(new Runnable() {
|
||||
public void run() {
|
||||
getMainHandler().post(new RunnableEx("compose:toast") {
|
||||
public void delegate() {
|
||||
if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
|
||||
view.performHapticFeedback(HapticFeedbackConstants.CONFIRM);
|
||||
ToastEx.makeText(context, feedback, Toast.LENGTH_LONG).show();
|
||||
|
|
Loading…
Reference in New Issue