Show commit logs in two lines.

This commit is contained in:
Yishi Lin 2017-04-07 00:36:34 +08:00
parent 72e2fcf0b5
commit 62aef62434
2 changed files with 26 additions and 258 deletions

View file

@ -16,6 +16,8 @@ class CommitLogsTableViewController: UITableViewController {
override func viewDidLoad() {
super.viewDidLoad()
commits = passwordStore.getRecentCommits(count: 20)
tableView.estimatedRowHeight = 60
tableView.rowHeight = UITableViewAutomaticDimension
}
override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {