Skip to content
Snippets Groups Projects
Commit e10b6cbf authored by Kamal Bramwell's avatar Kamal Bramwell
Browse files

Renamed contact property -> contactModel for clarity

parent 1a8d1e2d
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ import bindings.UserDiscovery as UdBindings ...@@ -11,7 +11,7 @@ import bindings.UserDiscovery as UdBindings
interface UserDiscovery { interface UserDiscovery {
val id: Long val id: Long
val contact: Contact val contactModel: Contact
val facts: List<Fact> val facts: List<Fact>
fun sendRegisterFact(fact: Fact): ConfirmationId fun sendRegisterFact(fact: Fact): ConfirmationId
...@@ -23,7 +23,7 @@ interface UserDiscovery { ...@@ -23,7 +23,7 @@ interface UserDiscovery {
open class UserDiscoveryAdapter(protected val ud: UdBindings) : UserDiscovery { open class UserDiscoveryAdapter(protected val ud: UdBindings) : UserDiscovery {
override val id: Long override val id: Long
get() = ud.id get() = ud.id
override val contact: Contact override val contactModel: Contact
get() = ContactAdapter(ud.contact) get() = ContactAdapter(ud.contact)
override val facts: List<Fact> override val facts: List<Fact>
get() = decodeArray(ud.facts) get() = decodeArray(ud.facts)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment