mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-02 21:24:20 -04:00
Fix next episode url for onEnd callback
This commit is contained in:
parent
e3cc80d32a
commit
4bc54d350b
@ -160,11 +160,9 @@ export const Player = ({
|
|||||||
experimental: { nativeBehavior: "stack-replace", isNestedNavigator: false },
|
experimental: { nativeBehavior: "stack-replace", isNestedNavigator: false },
|
||||||
});
|
});
|
||||||
else
|
else
|
||||||
router.replace(
|
router.replace(next ?? `/show/${data.show!.slug}`, undefined, {
|
||||||
data.nextEpisode ? `/watch/${data.nextEpisode.slug}` : `/show/${data.show!.slug}`,
|
experimental: { nativeBehavior: "stack-replace", isNestedNavigator: false },
|
||||||
undefined,
|
});
|
||||||
{ experimental: { nativeBehavior: "stack-replace", isNestedNavigator: false } },
|
|
||||||
);
|
|
||||||
}}
|
}}
|
||||||
{...css(StyleSheet.absoluteFillObject)}
|
{...css(StyleSheet.absoluteFillObject)}
|
||||||
/>
|
/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user