Commit 6ef918be authored by narinder Rana's avatar narinder Rana
Browse files

code refine

parent 4c7e37a3
Pipeline #175586 passed with stage
in 12 minutes and 59 seconds
......@@ -311,15 +311,6 @@ class MessageRepositoryImpl @Inject constructor(
?.let(SmsManagerFactory::createSmsManager)
?: SmsManager.getDefault()
// // We only care about stripping SMS
// val strippedBody = when (prefs.unicode.get()) {
// true -> StripAccents.stripAccents(signedBody)
// false -> signedBody
// }
// // val parts = smsManager.divideMessage(strippedBody).orEmpty()
// val forceMms = prefs.longAsMms.get() && parts.size > 1
if (addresses.size == 1 && attachments.isEmpty()) { // SMS
if (delay > 0) { // With delay
val sendTime = System.currentTimeMillis() + delay
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment