1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-31 03:21:36 +00:00

Haptic feedback on confirm move

This commit is contained in:
M66B 2023-11-20 08:05:14 +01:00
parent 6761890d06
commit cef79942f4

View file

@ -28,6 +28,7 @@ import android.content.res.ColorStateList;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.os.Bundle;
import android.view.HapticFeedbackConstants;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.CheckBox;
@ -142,6 +143,7 @@ public class FragmentMoveAsk extends FragmentDialogBase {
.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
Helper.performHapticFeedback(dview, HapticFeedbackConstants.CONFIRM);
sendResult(Activity.RESULT_OK);
}
})