File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/src/main/kotlin/com/simplemobiletools/smsmessenger/messaging Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ class MessagingUtils(val context: Context) {
171171
172172 fun maybeShowErrorToast (resultCode : Int , errorCode : Int ) {
173173 if (resultCode != Activity .RESULT_OK ) {
174- val msgId = if (errorCode != SendStatusReceiver .NO_ERROR_CODE ) {
174+ val msg = if (errorCode != SendStatusReceiver .NO_ERROR_CODE ) {
175175 context.getString(R .string.carrier_send_error)
176176 } else {
177177 when (resultCode) {
@@ -180,7 +180,7 @@ class MessagingUtils(val context: Context) {
180180 else -> context.getString(R .string.unknown_error_occurred_sending_message, resultCode)
181181 }
182182 }
183- context.toast(msg = msgId , length = Toast .LENGTH_LONG )
183+ context.toast(msg = msg , length = Toast .LENGTH_LONG )
184184 } else {
185185 // no-op
186186 }
You can’t perform that action at this time.
0 commit comments