Fix repo blob loading bug (#1136)

This commit is contained in:
Ryan Nystrom
2017-12-02 19:15:40 -05:00
committed by GitHub
parent ab9e0cb9de
commit bd55b07aa8
2 changed files with 25 additions and 5 deletions

View File

@@ -140,7 +140,13 @@ ListSingleSectionControllerDelegate {
isRoot: false
)
} else {
controller = RepositoryCodeBlobViewController(client: client, repo: repo, branch: branch, path: fullPath)
controller = RepositoryCodeBlobViewController(
client: client,
repo: repo,
branch: branch,
path: fullPath,
filename: file.name
)
}
navigationController?.pushViewController(controller, animated: true)
}