mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2025-02-01 09:56:51 +01:00
stop the scheduling process if the date or time pickers are closed
This commit is contained in:
parent
7f24e4d2a8
commit
a1f6d0e5e0
@ -97,9 +97,8 @@ class ScheduleMessageDialog(
|
||||
datePicker.minDate = System.currentTimeMillis()
|
||||
show()
|
||||
getButton(AlertDialog.BUTTON_NEGATIVE).apply {
|
||||
text = activity.getString(R.string.back)
|
||||
text = activity.getString(R.string.cancel)
|
||||
setOnClickListener {
|
||||
showPreview()
|
||||
dismiss()
|
||||
}
|
||||
}
|
||||
@ -116,9 +115,8 @@ class ScheduleMessageDialog(
|
||||
).apply {
|
||||
show()
|
||||
getButton(AlertDialog.BUTTON_NEGATIVE).apply {
|
||||
text = activity.getString(R.string.back)
|
||||
text = activity.getString(R.string.cancel)
|
||||
setOnClickListener {
|
||||
showPreview()
|
||||
dismiss()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user