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:
parent
6761890d06
commit
cef79942f4
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue