mirror of
https://github.com/zimplexing/OrionTV.git
synced 2026-02-04 03:36:29 +08:00
feat: update PlayScreen and VideoLoadingAnimation styles, and log play record saving in playerStore
This commit is contained in:
@@ -126,7 +126,6 @@ export default function PlayScreen() {
|
||||
ref={videoRef}
|
||||
style={styles.videoPlayer}
|
||||
source={{ uri: currentEpisode?.url || "" }}
|
||||
usePoster
|
||||
posterSource={{ uri: detail?.poster ?? "" }}
|
||||
resizeMode={ResizeMode.CONTAIN}
|
||||
onPlaybackStatusUpdate={handlePlaybackStatusUpdate}
|
||||
|
||||
@@ -111,18 +111,18 @@ export default function SettingsScreen() {
|
||||
),
|
||||
key: "livestream",
|
||||
},
|
||||
{
|
||||
component: (
|
||||
<VideoSourceSection
|
||||
onChanged={markAsChanged}
|
||||
onFocus={() => {
|
||||
setCurrentFocusIndex(3);
|
||||
setCurrentSection("videoSource");
|
||||
}}
|
||||
/>
|
||||
),
|
||||
key: "videoSource",
|
||||
},
|
||||
// {
|
||||
// component: (
|
||||
// <VideoSourceSection
|
||||
// onChanged={markAsChanged}
|
||||
// onFocus={() => {
|
||||
// setCurrentFocusIndex(3);
|
||||
// setCurrentSection("videoSource");
|
||||
// }}
|
||||
// />
|
||||
// ),
|
||||
// key: "videoSource",
|
||||
// },
|
||||
];
|
||||
|
||||
// TV遥控器事件处理
|
||||
|
||||
Reference in New Issue
Block a user