Delay finish for haptic feedback

pull/214/head
M66B 1 year ago
parent 3847d059ff
commit f1a16193e0

@ -7416,7 +7416,12 @@ public class FragmentCompose extends FragmentBase {
} else if (action == R.id.action_send) {
state = State.NONE;
view.performHapticFeedback(HapticFeedbackConstants.CONFIRM);
finish();
view.postDelayed(new Runnable() {
@Override
public void run() {
finish();
}
}, 20);
}
}

Loading…
Cancel
Save