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

Commit 21edc71

Browse files
rizwankcernystrom
authored andcommitted
[FIX] Navigation controller on "View Source" from settings (#2276)
1 parent 5b14376 commit 21edc71

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Classes/Settings/SettingsViewController.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,8 @@ NewIssueTableViewControllerDelegate {
183183
hasIssuesEnabled: true
184184
)
185185
let repoViewController = RepositoryViewController(client: client, repo: repo)
186-
navigationController?.showDetailViewController(repoViewController, sender: self)
186+
let navController = UINavigationController(rootViewController: repoViewController)
187+
showDetailViewController(navController, sender: self)
187188
}
188189

189190
func onSetDefaultReaction() {

0 commit comments

Comments
 (0)