From 1511764497a80398f026e7b4bf8b7b01b201c0ff Mon Sep 17 00:00:00 2001 From: Daniele Verducci Date: Sun, 19 Jan 2025 09:53:08 +0100 Subject: [PATCH] Restored detail button string --- .../main/java/it/danieleverducci/lunatracker/MainActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/it/danieleverducci/lunatracker/MainActivity.kt b/app/src/main/java/it/danieleverducci/lunatracker/MainActivity.kt index c827308..1f99241 100644 --- a/app/src/main/java/it/danieleverducci/lunatracker/MainActivity.kt +++ b/app/src/main/java/it/danieleverducci/lunatracker/MainActivity.kt @@ -307,7 +307,7 @@ class MainActivity : AppCompatActivity() { ) dialogView.findViewById(R.id.dialog_event_detail_type_notes).setText(event.notes) d.setView(dialogView) - d.setPositiveButton(R.string.dialog_event_detail_save_button) { dialogInterface, i -> dialogInterface.dismiss() } + d.setPositiveButton(android.R.string.ok) { dialogInterface, i -> dialogInterface.dismiss() } d.setNeutralButton(R.string.dialog_event_detail_delete_button) { dialogInterface, i -> deleteEvent(event) } val alertDialog = d.create() alertDialog.show()