mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-06-05 21:59:27 +02:00
show an error if trying to save a contact without an account set (last field)
This commit is contained in:
@ -502,6 +502,11 @@ class ContactActivity : SimpleActivity() {
|
||||
return
|
||||
}
|
||||
|
||||
if (contact_source.value.isEmpty()) {
|
||||
toast(R.string.missing_contact_account)
|
||||
return
|
||||
}
|
||||
|
||||
contact!!.apply {
|
||||
val oldPhotoUri = photoUri
|
||||
|
||||
|
Reference in New Issue
Block a user