call the clicked contact at Recents

This commit is contained in:
tibbi
2020-05-09 21:16:09 +02:00
parent 93558cc25a
commit cee011f15c
3 changed files with 3 additions and 2 deletions

View File

@ -40,7 +40,7 @@ class RecentsFragment(context: Context, attributeSet: AttributeSet) : MyViewPage
recents_placeholder_2.beGone()
recents_list.beVisible()
RecentCallsAdapter(activity as SimpleActivity, recents, recents_list) {
activity?.launchCallIntent((it as RecentCall).phoneNumber)
}.apply {
recents_list.adapter = this
}