mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-06-05 21:59:27 +02:00
setup organization data at Edit
This commit is contained in:
@ -176,6 +176,7 @@ class EditContactActivity : ContactActivity() {
|
||||
contact_notes_image.applyColorFilter(textColor)
|
||||
contact_source_image.applyColorFilter(textColor)
|
||||
contact_groups_image.applyColorFilter(textColor)
|
||||
contact_organization_image.applyColorFilter(textColor)
|
||||
|
||||
val adjustedPrimaryColor = getAdjustedPrimaryColor()
|
||||
contact_number_add_new.applyColorFilter(adjustedPrimaryColor)
|
||||
@ -250,6 +251,7 @@ class EditContactActivity : ContactActivity() {
|
||||
setupEmails()
|
||||
setupAddresses()
|
||||
setupNotes()
|
||||
setupOrganization()
|
||||
setupEvents()
|
||||
setupGroups()
|
||||
}
|
||||
@ -303,6 +305,11 @@ class EditContactActivity : ContactActivity() {
|
||||
contact_notes.setText(contact!!.notes)
|
||||
}
|
||||
|
||||
private fun setupOrganization() {
|
||||
contact_organization_company.setText(contact!!.organization.company)
|
||||
contact_organization_job_position.setText(contact!!.organization.jobPosition)
|
||||
}
|
||||
|
||||
private fun setupEvents() {
|
||||
contact!!.events.forEachIndexed { index, event ->
|
||||
var eventHolder = contact_events_holder.getChildAt(index)
|
||||
|
Reference in New Issue
Block a user