mirror of https://github.com/M66B/FairEmail.git
Added haptic feedback on send
This commit is contained in:
parent
35bc054c48
commit
8c42e336a4
|
@ -81,6 +81,7 @@ import android.text.style.URLSpan;
|
|||
import android.util.Pair;
|
||||
import android.util.TypedValue;
|
||||
import android.view.Gravity;
|
||||
import android.view.HapticFeedbackConstants;
|
||||
import android.view.KeyEvent;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.Menu;
|
||||
|
@ -7398,6 +7399,7 @@ public class FragmentCompose extends FragmentBase {
|
|||
|
||||
} else if (action == R.id.action_send) {
|
||||
state = State.NONE;
|
||||
view.performHapticFeedback(HapticFeedbackConstants.CONFIRM);
|
||||
finish();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue