mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-02-14 10:30:46 +01:00
refresh recent call history on individual call history deletion too
This commit is contained in:
parent
5fbf7c2b62
commit
20a34761dd
@ -245,8 +245,8 @@ class RecentCallsAdapter(
|
|||||||
RecentsHelper(activity).removeRecentCalls(idsToRemove) {
|
RecentsHelper(activity).removeRecentCalls(idsToRemove) {
|
||||||
recentCalls.removeAll(callsToRemove)
|
recentCalls.removeAll(callsToRemove)
|
||||||
activity.runOnUiThread {
|
activity.runOnUiThread {
|
||||||
if (recentCalls.isEmpty()) {
|
|
||||||
refreshItemsListener?.refreshItems()
|
refreshItemsListener?.refreshItems()
|
||||||
|
if (recentCalls.isEmpty()) {
|
||||||
finishActMode()
|
finishActMode()
|
||||||
} else {
|
} else {
|
||||||
removeSelectedItems(positions)
|
removeSelectedItems(positions)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user