mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
Add default values when setting up new tasks
This commit is contained in:
@@ -297,6 +297,18 @@ class TaskActivity : SimpleActivity() {
|
||||
window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE)
|
||||
task_title.requestFocus()
|
||||
updateActionBarTitle(getString(R.string.new_task))
|
||||
|
||||
mTask.apply {
|
||||
this.startTS = mTaskDateTime.seconds()
|
||||
this.endTS = mTaskDateTime.seconds()
|
||||
reminder1Minutes = mReminder1Minutes
|
||||
reminder1Type = mReminder1Type
|
||||
reminder2Minutes = mReminder2Minutes
|
||||
reminder2Type = mReminder2Type
|
||||
reminder3Minutes = mReminder3Minutes
|
||||
reminder3Type = mReminder3Type
|
||||
eventType = mEventTypeId
|
||||
}
|
||||
}
|
||||
|
||||
private fun saveCurrentTask() {
|
||||
|
Reference in New Issue
Block a user