This commit is contained in:
Mariotaku Lee 2017-06-28 22:15:20 +08:00
parent 010ff51c43
commit aac95a68fd
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
1 changed files with 6 additions and 0 deletions

View File

@ -1024,11 +1024,17 @@ class ComposeActivity : BaseActivity(), OnMenuItemClickListener, OnClickListener
val selectionEnd = editText.length()
editText.setSelection(selectionStart, selectionEnd)
}
editSummary.string = status.extras?.summary_text
editSummaryEnabled = !editSummary.empty
statusVisibility = intent.getStringExtra(EXTRA_VISIBILITY) ?: status.extras?.visibility
possiblySensitive = intent.getBooleanExtra(EXTRA_IS_POSSIBLY_SENSITIVE,
details.type == AccountType.MASTODON && status.is_possibly_sensitive)
accountsAdapter.selectedAccountKeys = arrayOf(status.account_key)
showReplyLabelAndHint(status)
editText.requestFocus()
return true
}