mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #789 from omnivore-app/fix/web-prefs-modal-nav-style
Web prefs modal nav style
This commit is contained in:
commit
272ff78534
2 changed files with 3 additions and 2 deletions
|
|
@ -251,7 +251,7 @@ public extension DataService {
|
|||
}
|
||||
}
|
||||
|
||||
if item.isPDF && needsPDFDownload {
|
||||
if item.isPDF, needsPDFDownload {
|
||||
try await fetchPDFData(slug: item.slug, pageURLString: item.pageURLString)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -147,11 +147,12 @@ public struct WebPreferencesPopoverView: View {
|
|||
ToolbarItem(placement: .navigationBarTrailing) {
|
||||
Button(
|
||||
action: dismissAction,
|
||||
label: { Text("Done").foregroundColor(.appGrayTextContrast) }
|
||||
label: { Text("Done").foregroundColor(.appGrayTextContrast).padding() }
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
.navigationViewStyle(.stack)
|
||||
.accentColor(.appGrayTextContrast)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue