mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Show bottom buttons when we show nav bar, make tap toggle the two
This commit is contained in:
parent
f800e3a04e
commit
9ebf0f6a6b
2 changed files with 2 additions and 5 deletions
|
|
@ -368,7 +368,8 @@ struct WebReaderContainerView: View {
|
|||
)
|
||||
.onTapGesture {
|
||||
withAnimation {
|
||||
navBarVisibilityRatio = 1
|
||||
showBottomBar = !showBottomBar
|
||||
navBarVisibilityRatio = navBarVisibilityRatio == 1 ? 0 : 1
|
||||
showNavBarActionID = UUID()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,10 +15,6 @@ struct SafariWebLink: Identifiable {
|
|||
@Published var isDownloadingAudio: Bool = false
|
||||
@Published var audioDownloadTask: Task<Void, Error>?
|
||||
|
||||
deinit {
|
||||
print("deinit WebReaderViewModel")
|
||||
}
|
||||
|
||||
func hasOriginalUrl(_ item: LinkedItem) -> Bool {
|
||||
if let pageURLString = item.pageURLString, let host = URL(string: pageURLString)?.host {
|
||||
if host == "omnivore.app" {
|
||||
|
|
|
|||
Loading…
Reference in a new issue