mirror of
https://github.com/zhigang1992/GitHawk.git
synced 2026-05-10 04:44:14 +08:00
deselect repo issue/pr cell on appear
This commit is contained in:
@@ -55,6 +55,11 @@ PrimaryViewController {
|
||||
title = "\(repo.owner)/\(repo.name)"
|
||||
}
|
||||
|
||||
override func viewWillAppear(_ animated: Bool) {
|
||||
super.viewWillAppear(animated)
|
||||
rz_smoothlyDeselectRows(collectionView: feed.collectionView)
|
||||
}
|
||||
|
||||
override func viewWillLayoutSubviews() {
|
||||
super.viewWillLayoutSubviews()
|
||||
feed.viewWillLayoutSubviews(view: view)
|
||||
|
||||
Reference in New Issue
Block a user