mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-15 07:28:30 +00:00
Use delete instead of delete for me in call log dialog.
This commit is contained in:
committed by
Nicholas Tinsley
parent
e3044b8b85
commit
ed4a1d6ddd
@@ -230,7 +230,7 @@ class CallLogFragment : Fragment(R.layout.call_log_fragment), CallLogAdapter.Cal
|
||||
val count = callLogActionMode.getCount()
|
||||
MaterialAlertDialogBuilder(requireContext())
|
||||
.setTitle(resources.getQuantityString(R.plurals.CallLogFragment__delete_d_calls, count, count))
|
||||
.setPositiveButton(R.string.CallLogFragment__delete_for_me) { _, _ ->
|
||||
.setPositiveButton(R.string.CallLogFragment__delete) { _, _ ->
|
||||
performDeletion(count, viewModel.stageSelectionDeletion())
|
||||
callLogActionMode.end()
|
||||
}
|
||||
@@ -363,7 +363,7 @@ class CallLogFragment : Fragment(R.layout.call_log_fragment), CallLogAdapter.Cal
|
||||
override fun deleteCall(call: CallLogRow) {
|
||||
MaterialAlertDialogBuilder(requireContext())
|
||||
.setTitle(resources.getQuantityString(R.plurals.CallLogFragment__delete_d_calls, 1, 1))
|
||||
.setPositiveButton(R.string.CallLogFragment__delete_for_me) { _, _ ->
|
||||
.setPositiveButton(R.string.CallLogFragment__delete) { _, _ ->
|
||||
performDeletion(1, viewModel.stageCallDeletion(call))
|
||||
}
|
||||
.show()
|
||||
|
||||
@@ -6024,14 +6024,12 @@
|
||||
<string name="CallLogFragment__filtered_by_missed">Filtered by missed</string>
|
||||
<!-- Bottom bar option to select all call entries -->
|
||||
<string name="CallLogFragment__select_all">Select all</string>
|
||||
<!-- Bottom bar option to delete all selected call entries -->
|
||||
<!-- Bottom bar option to delete all selected call entries and dialog action to confirm deletion -->
|
||||
<string name="CallLogFragment__delete">Delete</string>
|
||||
<plurals name="CallLogFragment__delete_d_calls">
|
||||
<item quantity="one">Delete %1$d call?</item>
|
||||
<item quantity="other">Delete %1$d calls?</item>
|
||||
</plurals>
|
||||
<!-- Positive action on multi-delete protection dialog -->
|
||||
<string name="CallLogFragment__delete_for_me">Delete for me</string>
|
||||
<!-- Snackbar label after deleting call logs -->
|
||||
<plurals name="CallLogFragment__d_calls_deleted">
|
||||
<item quantity="one">%1$d call deleted</item>
|
||||
|
||||
Reference in New Issue
Block a user