From ce35553eca924e25c035c109aa1817352d04231a Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 15 Nov 2022 23:03:57 +0100 Subject: [PATCH] fixing an error toast message --- app/build.gradle | 2 +- .../smsmessenger/activities/ThreadActivity.kt | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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 {