mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2025-02-09 00:08:40 +01:00
do not show an error message at loading contact image at the Conversation
This commit is contained in:
parent
3569bce668
commit
94086547a5
@ -128,9 +128,9 @@ class MainActivity : SimpleActivity() {
|
|||||||
handlePermission(PERMISSION_SEND_SMS) {
|
handlePermission(PERMISSION_SEND_SMS) {
|
||||||
if (it) {
|
if (it) {
|
||||||
handlePermission(PERMISSION_READ_CONTACTS) {
|
handlePermission(PERMISSION_READ_CONTACTS) {
|
||||||
|
initMessenger()
|
||||||
bus = EventBus.getDefault()
|
bus = EventBus.getDefault()
|
||||||
bus!!.register(this)
|
bus!!.register(this)
|
||||||
initMessenger()
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
finish()
|
finish()
|
||||||
@ -177,7 +177,6 @@ class MainActivity : SimpleActivity() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
no_conversations_placeholder_2.setOnClickListener {
|
no_conversations_placeholder_2.setOnClickListener {
|
||||||
launchNewConversation()
|
launchNewConversation()
|
||||||
}
|
}
|
||||||
|
@ -468,7 +468,6 @@ class ThreadActivity : SimpleActivity() {
|
|||||||
override fun onLoadFailed(e: GlideException?, model: Any?, target: Target<Drawable>?, isFirstResource: Boolean): Boolean {
|
override fun onLoadFailed(e: GlideException?, model: Any?, target: Target<Drawable>?, isFirstResource: Boolean): Boolean {
|
||||||
attachmentView.thread_attachment_preview.beGone()
|
attachmentView.thread_attachment_preview.beGone()
|
||||||
attachmentView.thread_remove_attachment.beGone()
|
attachmentView.thread_remove_attachment.beGone()
|
||||||
showErrorToast(e?.localizedMessage ?: "")
|
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user