diff --git a/src/components/player/controls/PlayerControls.tsx b/src/components/player/controls/PlayerControls.tsx index 29861710..e45a4984 100644 --- a/src/components/player/controls/PlayerControls.tsx +++ b/src/components/player/controls/PlayerControls.tsx @@ -297,6 +297,14 @@ export const PlayerControls: React.FC = ({ > {/* Progress slider with native iOS slider */} + + + {formatTime(previewTime)} + + + {formatTime(duration)} + + = ({ thumbTintColor={Platform.OS === 'android' ? currentTheme.colors.white : undefined} tapToSeek={Platform.OS === 'ios'} /> - - - {formatTime(previewTime)} - - - {formatTime(duration)} - - {/* Controls Overlay */} @@ -590,75 +590,82 @@ export const PlayerControls: React.FC = ({ pointerEvents="box-none" > - {/* Center Buttons Container with rounded background - wraps all buttons */} + {/* Center Buttons Container with split layout */} - {/* Left Side: Aspect Ratio Button */} - - - - - {/* Subtitle Button */} - setShowSubtitleModal(!isSubtitleModalOpen)} - > - - - - {/* Change Source Button */} - {setShowSourcesModal && ( - setShowSourcesModal(true)} - > - + {/* Left Group */} + + {/* Aspect Ratio Button */} + + - )} - {/* Playback Speed Button */} - setShowSpeedModal(true)}> - - - - {/* Audio Button */} - setShowAudioModal(true)} - disabled={ksAudioTracks.length <= 1} - > - - - - {/* Submit Intro Button */} - {season !== undefined && episode !== undefined && settings.introSubmitEnabled && settings.introDbApiKey && ( + {/* Subtitle Button */} setShowSubtitleModal(!isSubtitleModalOpen)} + > + + + + {/* Playback Speed Button */} + setShowSpeedModal(true)}> + + + + {/* Audio Button */} + setShowAudioModal(true)} + disabled={ksAudioTracks.length <= 1} > - )} - {/* Right Side: Episodes Button */} - {setShowEpisodesModal && ( - setShowEpisodesModal(true)} - > - - - )} + {/* Submit Intro Button */} + {season !== undefined && episode !== undefined && settings.introSubmitEnabled && settings.introDbApiKey && ( + + + + )} + + + {/* Right Group */} + + {/* Change Source Button */} + {setShowSourcesModal && ( + setShowSourcesModal(true)} + > + + + )} + + {/* Episodes Button */} + {setShowEpisodesModal && ( + setShowEpisodesModal(true)} + > + + + )} + + ); diff --git a/src/components/player/utils/playerStyles.ts b/src/components/player/utils/playerStyles.ts index 35dd6f7c..791e2cc2 100644 --- a/src/components/player/utils/playerStyles.ts +++ b/src/components/player/utils/playerStyles.ts @@ -352,8 +352,8 @@ export const styles = StyleSheet.create({ justifyContent: 'space-between', width: '100%', paddingHorizontal: 4, - marginTop: 4, - marginBottom: 8, + marginTop: 0, + marginBottom: 2, }, duration: { color: 'white', @@ -399,16 +399,15 @@ export const styles = StyleSheet.create({ centerControlsContainer: { flexDirection: 'row', alignItems: 'center', - justifyContent: 'center', - gap: 2, - paddingHorizontal: 4, + justifyContent: 'space-between', + paddingHorizontal: 6, paddingVertical: 2, marginTop: 12, backgroundColor: 'rgba(0, 0, 0, 0.5)', borderRadius: 24, borderWidth: 1, borderColor: 'rgba(255, 255, 255, 0.2)', - alignSelf: 'center', + width: '100%', zIndex: 1002, }, modalOverlay: { diff --git a/src/navigation/AppNavigator.tsx b/src/navigation/AppNavigator.tsx index ec219b70..2d6017aa 100644 --- a/src/navigation/AppNavigator.tsx +++ b/src/navigation/AppNavigator.tsx @@ -1924,7 +1924,6 @@ const ConditionalPostHogProvider: React.FC<{ children: React.ReactNode }> = ({ c apiKey="phc_sk6THCtV3thEAn6cTaA9kL2cHuKDBnlYiSL40ywdS6C" options={{ host: "https://us.i.posthog.com", - autocapture: analyticsEnabled, // Start opted out if analytics is disabled defaultOptIn: analyticsEnabled, }}