diff --git a/app/src/main/java/space/celestia/mobilecelestia/utils/Dialog.kt b/app/src/main/java/space/celestia/mobilecelestia/utils/Dialog.kt index f80a3183..ef0c2c0a 100644 --- a/app/src/main/java/space/celestia/mobilecelestia/utils/Dialog.kt +++ b/app/src/main/java/space/celestia/mobilecelestia/utils/Dialog.kt @@ -48,6 +48,7 @@ fun Activity.showDateInput(title: String, format: String, handler: (Date?) -> Un val customView = LayoutInflater.from(this).inflate(R.layout.dialog_text_input, findViewById(android.R.id.content), false) val editText = customView.findViewById(R.id.input) + editText.hint = formatter.format(Date()) editText.inputType = InputType.TYPE_CLASS_TEXT builder.setView(customView)