fix note not displaying correctly in EditProfileActivity

This commit is contained in:
Conny Duck 2018-04-05 21:46:34 +02:00
commit 21344866d3
2 changed files with 11 additions and 2 deletions

View file

@ -139,7 +139,7 @@ class EditProfileActivity : BaseActivity(), Injectable {
}
val me = response.body()
oldDisplayName = me!!.displayName
oldNote = me.note.toString()
oldNote = me.source?.note
oldLocked = me.locked
displayNameEditText.setText(oldDisplayName)