show a toast if the user doesnt finish swiping at the reminder screen
This commit is contained in:
parent
7a8acdea79
commit
75510eb7c5
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ class ReminderActivity : SimpleActivity() {
|
|||
MotionEvent.ACTION_UP, MotionEvent.ACTION_CANCEL -> {
|
||||
dragDownX = 0f
|
||||
if (!didVibrate) {
|
||||
toast(R.string.swipe_right_to_dismiss)
|
||||
reminder_draggable.animate().x(initialDraggableX).withEndAction {
|
||||
reminder_draggable_background.animate().alpha(0.2f)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue