mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-06-05 21:49:23 +02:00
minor code change
This commit is contained in:
@@ -36,7 +36,7 @@ class DialerActivity : SimpleActivity() {
|
|||||||
@SuppressLint("MissingPermission")
|
@SuppressLint("MissingPermission")
|
||||||
private fun initOutgoingCall() {
|
private fun initOutgoingCall() {
|
||||||
try {
|
try {
|
||||||
if (this.isNumberBlocked(callNumber.toString().replace("tel:", ""), this.getBlockedNumbers())) {
|
if (isNumberBlocked(callNumber.toString().replace("tel:", ""), getBlockedNumbers())) {
|
||||||
toast(R.string.calling_blocked_number)
|
toast(R.string.calling_blocked_number)
|
||||||
finish()
|
finish()
|
||||||
return
|
return
|
||||||
|
Reference in New Issue
Block a user