mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-02-14 18:40:46 +01:00
adding an extra string at call log clearing
This commit is contained in:
parent
6c3d12fa84
commit
1255905e76
@ -62,7 +62,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:e843eab1a5'
|
implementation 'com.github.SimpleMobileTools:Simple-Commons:31496f8b73'
|
||||||
implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61'
|
implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61'
|
||||||
implementation 'me.grantland:autofittextview:0.2.1'
|
implementation 'me.grantland:autofittextview:0.2.1'
|
||||||
}
|
}
|
||||||
|
@ -236,7 +236,8 @@ class MainActivity : SimpleActivity() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun clearCallHistory() {
|
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) {
|
RecentsHelper(this).removeAllRecentCalls(this) {
|
||||||
runOnUiThread {
|
runOnUiThread {
|
||||||
recents_fragment?.refreshItems()
|
recents_fragment?.refreshItems()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user