mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-06-05 21:49:23 +02:00
refactor: adjust for code style
This commit is contained in:
@@ -85,7 +85,9 @@ fun SimpleActivity.getHandleToUse(intent: Intent?, phoneNumber: String, callback
|
||||
defaultHandle != null -> callback(defaultHandle)
|
||||
else -> {
|
||||
SelectSIMDialog(this, phoneNumber, onDismiss = {
|
||||
if(this is DialerActivity) finish()
|
||||
if (this is DialerActivity) {
|
||||
finish()
|
||||
}
|
||||
}) { handle ->
|
||||
callback(handle)
|
||||
}
|
||||
|
Reference in New Issue
Block a user