We initially show the nav bar but not bottom bar, so this keeps them in sync on subsequent taps

This commit is contained in:
Jackson Harper 2023-02-07 18:07:34 +08:00
parent 9ebf0f6a6b
commit c5cb5d9514

View file

@ -368,8 +368,8 @@ struct WebReaderContainerView: View {
)
.onTapGesture {
withAnimation {
showBottomBar = !showBottomBar
navBarVisibilityRatio = navBarVisibilityRatio == 1 ? 0 : 1
showBottomBar = navBarVisibilityRatio == 1
showNavBarActionID = UUID()
}
}