mirror of
https://github.com/zhigang1992/GitHawk.git
synced 2026-05-26 03:17:39 +08:00
Enable image upload for comments (#891)
This commit is contained in:
committed by
Ryan Nystrom
parent
ab28e739bc
commit
d6c9dcb14f
@@ -106,7 +106,7 @@ class EditCommentViewController: UIViewController {
|
||||
repo: issueModel.repo,
|
||||
owner: issueModel.repo,
|
||||
addBorder: true,
|
||||
supportsImageUpload: false
|
||||
supportsImageUpload: true
|
||||
)
|
||||
textActionsController.configure(client: client, textView: textView, actions: actions)
|
||||
textView.inputAccessoryView = actions
|
||||
|
||||
@@ -148,7 +148,7 @@ FlatCacheListener {
|
||||
repo: model.repo,
|
||||
owner: model.owner,
|
||||
addBorder: false,
|
||||
supportsImageUpload: false
|
||||
supportsImageUpload: true
|
||||
)
|
||||
// text input bar uses UIVisualEffectView, don't try to match it
|
||||
actions.backgroundColor = .clear
|
||||
|
||||
Reference in New Issue
Block a user