mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Delay finish for haptic feedback
This commit is contained in:
parent
3847d059ff
commit
f1a16193e0
1 changed files with 6 additions and 1 deletions
|
@ -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…
Reference in a new issue