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:
@ -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") }
|
||||
|
||||
Reference in New Issue
Block a user