Avoid oneliner
This commit is contained in:
parent
ed11a99e59
commit
b61782bc7b
|
@ -22,7 +22,8 @@ class MmsSentReceiver : SendStatusReceiver() {
|
||||||
val messageBox = if (receiverResultCode == Activity.RESULT_OK) {
|
val messageBox = if (receiverResultCode == Activity.RESULT_OK) {
|
||||||
Telephony.Mms.MESSAGE_BOX_SENT
|
Telephony.Mms.MESSAGE_BOX_SENT
|
||||||
} else {
|
} else {
|
||||||
context.toast(msg = context.getString(R.string.unknown_error_occurred_sending_message, receiverResultCode), length = Toast.LENGTH_LONG)
|
val msg = context.getString(R.string.unknown_error_occurred_sending_message, receiverResultCode)
|
||||||
|
context.toast(msg = msg, length = Toast.LENGTH_LONG)
|
||||||
Telephony.Mms.MESSAGE_BOX_FAILED
|
Telephony.Mms.MESSAGE_BOX_FAILED
|
||||||
}
|
}
|
||||||
val values = ContentValues(1).apply {
|
val values = ContentValues(1).apply {
|
||||||
|
|
Loading…
Reference in New Issue