mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add a button to reset read location
This will be more useful when text to speech updates read position while listening, gives the user more control and makes it easier to handle scrolling back in an article.
This commit is contained in:
parent
3709628a93
commit
08c06a6dff
1 changed files with 6 additions and 0 deletions
|
|
@ -175,6 +175,12 @@ struct WebReaderContainerView: View {
|
|||
)
|
||||
}
|
||||
)
|
||||
Button(
|
||||
action: {
|
||||
dataService.updateLinkReadingProgress(itemID: item.unwrappedID, readingProgress: 0, anchorIndex: 0)
|
||||
},
|
||||
label: { Label("Reset Read Location", systemImage: "arrow.counterclockwise.circle") }
|
||||
)
|
||||
Button(
|
||||
action: { shareActionID = UUID() },
|
||||
label: { Label("Share Original", systemImage: "square.and.arrow.up") }
|
||||
|
|
|
|||
Loading…
Reference in a new issue