We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3668a8f commit 25add41Copy full SHA for 25add41
1 file changed
packages/shared-ui/src/screens/PlayerScreen.tsx
@@ -108,7 +108,10 @@ export default function PlayerScreen() {
108
onBuffer={setIsVideoBuffering}
109
onProgress={setCurrentTime}
110
onLoad={(duration) => (durationRef.current = duration)}
111
- onEnd={() => setPaused(true)}
+ onEnd={() => {
112
+ setPaused(true);
113
+ navigation.goBack();
114
+ }}
115
/>
116
117
{!SHOW_NATIVE_CONTROLS && !!durationRef.current && (
0 commit comments