···1818import { CaptionSettingsView } from "./settings/CaptionSettingsView";
1919import { CaptionsView } from "./settings/CaptionsView";
2020import { DownloadRoutes } from "./settings/Downloads";
2121-import { OpenSubtitlesCaptionView } from "./settings/Opensubtitles";
2121+import { OpenSubtitlesCaptionView } from "./settings/OpensubtitlesCaptionsView";
2222import { PlaybackSettingsView } from "./settings/PlaybackSettingsView";
2323import { QualityView } from "./settings/QualityView";
2424import { SettingsMenu } from "./settings/SettingsMenu";
2525+import SourceCaptionsView from "./settings/SourceCaptionsView";
25262627function SettingsOverlay({ id }: { id: string }) {
2728 const [chosenSourceId, setChosenSourceId] = useState<string | null>(null);
···5556 </OverlayPage>
5657 <OverlayPage id={id} path="/captions" width={343} height={431}>
5758 <Menu.CardWithScrollable>
5959+ <CaptionsView id={id} backLink />
6060+ </Menu.CardWithScrollable>
6161+ </OverlayPage>
6262+ {/* This is used by the captions shortcut in bottomControls of player */}
6363+ <OverlayPage id={id} path="/captionsOverlay" width={343} height={431}>
6464+ <Menu.CardWithScrollable>
5865 <CaptionsView id={id} />
5966 </Menu.CardWithScrollable>
6067 </OverlayPage>
···6875 <OpenSubtitlesCaptionView id={id} />
6976 </Menu.Card>
7077 </OverlayPage>
7878+ {/* This is used by the captions shortcut in bottomControls of player */}
7979+ <OverlayPage
8080+ id={id}
8181+ path="/captions/opensubtitlesOverlay"
8282+ width={343}
8383+ height={431}
8484+ >
8585+ <Menu.Card>
8686+ <OpenSubtitlesCaptionView id={id} overlayBackLink />
8787+ </Menu.Card>
8888+ </OverlayPage>
8989+ <OverlayPage id={id} path="/captions/source" width={343} height={431}>
9090+ <Menu.Card>
9191+ <SourceCaptionsView id={id} />
9292+ </Menu.Card>
9393+ </OverlayPage>
9494+ {/* This is used by the captions shortcut in bottomControls of player */}
9595+ <OverlayPage
9696+ id={id}
9797+ path="/captions/sourceOverlay"
9898+ width={343}
9999+ height={431}
100100+ >
101101+ <Menu.Card>
102102+ <SourceCaptionsView id={id} overlayBackLink />
103103+ </Menu.Card>
104104+ </OverlayPage>
71105 <OverlayPage id={id} path="/captions/settings" width={343} height={450}>
72106 <Menu.Card>
73107 <CaptionSettingsView id={id} />
108108+ </Menu.Card>
109109+ </OverlayPage>
110110+ {/* This is used by the captions shortcut in bottomControls of player */}
111111+ <OverlayPage
112112+ id={id}
113113+ path="/captions/settingsOverlay"
114114+ width={343}
115115+ height={450}
116116+ >
117117+ <Menu.Card>
118118+ <CaptionSettingsView id={id} overlayBackLink />
74119 </Menu.Card>
75120 </OverlayPage>
76121 <OverlayPage id={id} path="/source" width={343} height={431}>
+1
src/components/player/atoms/index.ts
···1616export * from "./NextEpisodeButton";
1717export * from "./Chromecast";
1818export * from "./CastingNotification";
1919+export * from "./Captions";