Skip to content

Commit

Permalink
Merge pull request #1187 from wakmusic/1146-fix-crash-home-tab
Browse files Browse the repository at this point in the history
  • Loading branch information
KangTaeHoon authored Aug 17, 2024
2 parents 5548e78 + 040e45a commit 55d76a2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@ public extension HomeViewController {
if viewControllersCount > 1 {
self.navigationController?.popToRootViewController(animated: true)
} else {
guard let scrollView = self.scrollView else { return }
scrollView.setContentOffset(CGPoint(x: 0, y: -STATUS_BAR_HEGHIT()), animated: true)
}
}
Expand Down

0 comments on commit 55d76a2

Please sign in to comment.