mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2024-12-14 17:33:58 +01:00
show a toast if the user doesnt finish swiping at the reminder screen
This commit is contained in:
parent
7a8acdea79
commit
75510eb7c5
@ -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 New Issue
Block a user