- Avoid compiler warning.
This commit is contained in:
@@ -62,7 +62,7 @@ class ContactActivity : AppCompatActivity() {
|
|||||||
String.format(getString(R.string.invalid_contact), newName))
|
String.format(getString(R.string.invalid_contact), newName))
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
var alert = false
|
var alert: Boolean
|
||||||
if (new)
|
if (new)
|
||||||
alert = ContactsActivity.nameExists(newName, true)
|
alert = ContactsActivity.nameExists(newName, true)
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user