mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-02-14 18:40:46 +01:00
call the clicked contact at Recents
This commit is contained in:
parent
93558cc25a
commit
cee011f15c
@ -36,6 +36,6 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.simplemobiletools:commons:5.27.17'
|
||||
implementation 'com.simplemobiletools:commons:5.27.18'
|
||||
implementation 'com.github.tibbi:IndicatorFastScroll:08f512858a'
|
||||
}
|
||||
|
@ -5,6 +5,7 @@
|
||||
android:installLocation="auto">
|
||||
|
||||
<uses-permission android:name="android.permission.READ_CONTACTS" />
|
||||
<uses-permission android:name="android.permission.CALL_PHONE" />
|
||||
<uses-permission android:name="android.permission.READ_CALL_LOG" />
|
||||
|
||||
<uses-permission
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user