fixing an error toast message

This commit is contained in:
tibbi 2022-11-15 23:03:57 +01:00
parent 64097665c4
commit ce35553eca
2 changed files with 4 additions and 2 deletions

View File

@ -63,7 +63,7 @@ android {
} }
dependencies { dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:f0369c00f3' implementation 'com.github.SimpleMobileTools:Simple-Commons:af11ea2e30'
implementation 'org.greenrobot:eventbus:3.3.1' implementation 'org.greenrobot:eventbus:3.3.1'
implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61' implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61'
implementation 'com.github.tibbi:android-smsmms:3581774c39' implementation 'com.github.tibbi:android-smsmms:3581774c39'

View File

@ -1229,8 +1229,10 @@ class ThreadActivity : SimpleActivity() {
} }
setupAdapter() setupAdapter()
runOnUiThread {
setupSIMSelector() setupSIMSelector()
} }
}
private fun isMmsMessage(text: String): Boolean { private fun isMmsMessage(text: String): Boolean {
val isGroupMms = participants.size > 1 && config.sendGroupMessageMMS val isGroupMms = participants.size > 1 && config.sendGroupMessageMMS