mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Force read position writes when user explicitly sets it
This commit is contained in:
parent
a060aaf496
commit
97efbe4487
2 changed files with 3 additions and 0 deletions
|
|
@ -385,6 +385,7 @@ export function useGetLibraryItemsQuery({
|
|||
})
|
||||
articleReadingProgressMutation({
|
||||
id: item.node.id,
|
||||
force: true,
|
||||
readingProgressPercent: 100,
|
||||
readingProgressTopPercent: 100,
|
||||
readingProgressAnchorIndex: 0,
|
||||
|
|
@ -402,6 +403,7 @@ export function useGetLibraryItemsQuery({
|
|||
})
|
||||
articleReadingProgressMutation({
|
||||
id: item.node.id,
|
||||
force: true,
|
||||
readingProgressPercent: 0,
|
||||
readingProgressTopPercent: 0,
|
||||
readingProgressAnchorIndex: 0,
|
||||
|
|
|
|||
|
|
@ -155,6 +155,7 @@ export default function Home(): JSX.Element {
|
|||
if (article) {
|
||||
articleReadingProgressMutation({
|
||||
id: article.id,
|
||||
force: true,
|
||||
readingProgressPercent: 100,
|
||||
readingProgressTopPercent: 100,
|
||||
readingProgressAnchorIndex: 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue