Fixed adding of new contact
This commit is contained in:
@@ -204,6 +204,10 @@ sealed class Contact {
|
||||
BaresipService.contactUpdate.postValue(System.nanoTime())
|
||||
}
|
||||
|
||||
fun addBaresipContact(contact: BaresipContact) {
|
||||
BaresipService.baresipContacts.add(contact)
|
||||
}
|
||||
|
||||
fun removeBaresipContact(contact: BaresipContact) {
|
||||
BaresipService.baresipContacts.remove(contact)
|
||||
saveBaresipContacts()
|
||||
|
||||
Reference in New Issue
Block a user