- Avoid compiler warning.

This commit is contained in:
Juha Heinanen
2019-08-27 14:01:32 +03:00
parent 6f3aaa378b
commit 49ccc5c620

View File

@ -62,7 +62,7 @@ class ContactActivity : AppCompatActivity() {
String.format(getString(R.string.invalid_contact), newName))
return false
}
var alert = false
var alert: Boolean
if (new)
alert = ContactsActivity.nameExists(newName, true)
else