diff --git a/app/build.gradle b/app/build.gradle index 14d1ec59..3d91c9c5 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -63,7 +63,7 @@ android { } dependencies { - implementation 'com.github.SimpleMobileTools:Simple-Commons:f0369c00f3' + implementation 'com.github.SimpleMobileTools:Simple-Commons:af11ea2e30' implementation 'org.greenrobot:eventbus:3.3.1' implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61' implementation 'com.github.tibbi:android-smsmms:3581774c39' diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/ThreadActivity.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/ThreadActivity.kt index 14f23a19..3de1380e 100644 --- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/ThreadActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/ThreadActivity.kt @@ -1229,7 +1229,9 @@ class ThreadActivity : SimpleActivity() { } setupAdapter() - setupSIMSelector() + runOnUiThread { + setupSIMSelector() + } } private fun isMmsMessage(text: String): Boolean {