mirror of
https://github.com/zhigang1992/GitHawk.git
synced 2026-05-22 07:30:32 +08:00
add issue VC as listener for comments
This commit is contained in:
@@ -104,6 +104,7 @@ final class IssuesViewController: UIViewController, ListAdapterDataSource, FeedD
|
||||
func onAddComment() {
|
||||
guard let subjectId = subjectId else { return }
|
||||
let addCommentClient = AddCommentClient(client: client, subjectId: subjectId)
|
||||
addCommentClient.addListener(listener: self)
|
||||
let controller = UINavigationController(rootViewController: NewCommentViewController(client: addCommentClient))
|
||||
controller.modalPresentationStyle = .formSheet
|
||||
present(controller, animated: true)
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>859</string>
|
||||
<string>860</string>
|
||||
<key>ITSAppUsesNonExemptEncryption</key>
|
||||
<false/>
|
||||
<key>LSApplicationQueriesSchemes</key>
|
||||
|
||||
Reference in New Issue
Block a user