mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Added haptic feedback on send
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user