Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 671ffe8

Browse files
BasThomasrnystrom
authored andcommitted
Distinguish owner from repository in dropdown actionsheet (#1411)
* Distinguish between owner and repo in action sheet * Bonus: fix test warning
1 parent 99989c3 commit 671ffe8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Classes/Issues/IssuesViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ IssueManagingNavSectionControllerDelegate {
244244
func viewOwnerAction() -> UIAlertAction? {
245245
weak var weakSelf = self
246246
return AlertAction(AlertActionBuilder { $0.rootViewController = weakSelf })
247-
.view(owner: model.owner)
247+
.view(owner: "@\(model.owner)")
248248
}
249249

250250
func viewRepoAction() -> UIAlertAction? {

FreetimeTests/MMMarkdownASTTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ final class MMMarkdownASTTests: XCTestCase {
1818
}
1919

2020
func test_fileExists() {
21-
XCTAssertTrue(testMarkdown.characters.count > 0)
21+
XCTAssertTrue(testMarkdown.count > 0)
2222
}
2323

2424
func test_createASTWorks() {

0 commit comments

Comments
 (0)