adding an extra string at call log clearing

This commit is contained in:
tibbi 2022-12-30 18:36:50 +01:00
parent 6c3d12fa84
commit 1255905e76
2 changed files with 3 additions and 2 deletions

View File

@ -62,7 +62,7 @@ android {
}
dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:e843eab1a5'
implementation 'com.github.SimpleMobileTools:Simple-Commons:31496f8b73'
implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61'
implementation 'me.grantland:autofittextview:0.2.1'
}

View File

@ -236,7 +236,8 @@ class MainActivity : SimpleActivity() {
}
private fun clearCallHistory() {
ConfirmationDialog(this, "", R.string.clear_history_confirmation) {
val confirmationText = "${getString(R.string.remove_confirmation)}\n\n${getString(R.string.cannot_be_undone)}"
ConfirmationDialog(this, confirmationText) {
RecentsHelper(this).removeAllRecentCalls(this) {
runOnUiThread {
recents_fragment?.refreshItems()