1 Commits

Author SHA1 Message Date
a941fc4fce events: allow editing of all used values
Allow to change the date/time and
other relevant values of an event
on creation and after it was created.
2025-11-12 08:09:37 +01:00
2 changed files with 1 additions and 1 deletions

View File

@@ -288,7 +288,7 @@ class MainActivity : AppCompatActivity() {
fun askTemperatureValue(event: LunaEvent, showTime: Boolean, onPositive: () -> Unit) { fun askTemperatureValue(event: LunaEvent, showTime: Boolean, onPositive: () -> Unit) {
// Show number picker dialog // Show number picker dialog
val d = AlertDialog.Builder(this) val d = AlertDialog.Builder(this)
val dialogView = layoutInflater.inflate(R.layout.dialog_edit_temperature, null) val dialogView = layoutInflater.inflate(R.layout.temperature_dialog, null)
d.setTitle(R.string.log_temperature_dialog_title) d.setTitle(R.string.log_temperature_dialog_title)
d.setMessage(R.string.log_temperature_dialog_description) d.setMessage(R.string.log_temperature_dialog_description)
d.setView(dialogView) d.setView(dialogView)