mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 21:34:44 +02:00
Added fail-safe
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user