Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Fix: Delete All locations in journal (DEV) #5674

Merged
merged 1 commit into from
Nov 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class ContactDiaryEditLocationsFragment : Fragment(R.layout.contact_diary_edit_l
private fun deleteAllLocationsConfirmationDialog() = displayDialog {
title(R.string.contact_diary_delete_locations_title)
message(R.string.contact_diary_delete_locations_message)
positiveButton(R.string.contact_diary_delete_button_positive) { viewModel.onDeleteAllLocationsClick() }
positiveButton(R.string.contact_diary_delete_button_positive) { viewModel.onDeleteAllConfirmedClick() }
negativeButton(R.string.contact_diary_delete_button_negative)
setDeleteDialog(true)
}
Expand Down