mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-02-17 12:00:39 +01:00
adding 2 more crashfixes
This commit is contained in:
parent
251df880ff
commit
ba8b9c143f
@ -901,7 +901,7 @@ class EditContactActivity : ContactActivity() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
contact!!.apply {
|
contact?.apply {
|
||||||
val oldPhotoUri = photoUri
|
val oldPhotoUri = photoUri
|
||||||
|
|
||||||
prefix = contact_prefix.value
|
prefix = contact_prefix.value
|
||||||
|
@ -92,7 +92,9 @@ class ViewContactActivity : ContactActivity() {
|
|||||||
(contact_appbar.layoutParams as RelativeLayout.LayoutParams).topMargin = statusBarHeight
|
(contact_appbar.layoutParams as RelativeLayout.LayoutParams).topMargin = statusBarHeight
|
||||||
contact_toolbar.menu.apply {
|
contact_toolbar.menu.apply {
|
||||||
findItem(R.id.share).setOnMenuItemClickListener {
|
findItem(R.id.share).setOnMenuItemClickListener {
|
||||||
shareContact(fullContact!!)
|
if (fullContact != null) {
|
||||||
|
shareContact(fullContact!!)
|
||||||
|
}
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user