change the default contact placeholder letter from S to A

This commit is contained in:
tibbi
2020-05-04 16:36:24 +02:00
parent 23c75122b7
commit 5ab75aed4b
3 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ abstract class ContactActivity : SimpleActivity() {
protected var currentContactPhotoPath = ""
fun showPhotoPlaceholder(photoView: ImageView) {
val placeholder = BitmapDrawable(resources, getContactLetterIcon(contact?.getNameToDisplay() ?: "S"))
val placeholder = BitmapDrawable(resources, getContactLetterIcon(contact?.getNameToDisplay() ?: "A"))
photoView.setImageDrawable(placeholder)
currentContactPhotoPath = ""
contact?.photo = null

View File

@ -54,7 +54,7 @@ class CallManager {
fun getCallContact(context: Context, callback: (CallContact?) -> Unit) {
val callContact = CallContact("", "", "")
if (call == null) {
if (call == null || call!!.details == null || call!!.details!!.handle == null) {
callback(callContact)
return
}