mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2025-02-09 16:28:51 +01:00
remove the delay at thread refreshing after sending a message
This commit is contained in:
parent
d0bbd05913
commit
57a417f42b
@ -810,11 +810,9 @@ class ThreadActivity : SimpleActivity() {
|
|||||||
thread_attachments_holder.beGone()
|
thread_attachments_holder.beGone()
|
||||||
thread_attachments_wrapper.removeAllViews()
|
thread_attachments_wrapper.removeAllViews()
|
||||||
|
|
||||||
Handler().postDelayed({
|
if (!refreshedSinceSent) {
|
||||||
if (!refreshedSinceSent) {
|
refreshMessages()
|
||||||
refreshMessages()
|
}
|
||||||
}
|
|
||||||
}, 2000)
|
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
showErrorToast(e)
|
showErrorToast(e)
|
||||||
} catch (e: Error) {
|
} catch (e: Error) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user