We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efcab6a commit 7039c57Copy full SHA for 7039c57
ui/src/SubScreenPage.tsx
@@ -67,12 +67,10 @@ export const SubScreenInner: React.FC = () => {
67
const timer = useLightningTimer(screen?.lightning_timer);
68
69
const infoMode = ((): InfoMode => {
70
+ if (searchParams.has("force_caption")) return "caption";
71
if (timer?.shouldVisible) return "lightning_timer";
72
if (screen?.intermission) return "announcement";
- if (
73
- screen?.subscreen_caption &&
74
- (currentSession !== undefined || searchParams.has("force_caption"))
75
- ) {
+ if (screen?.subscreen_caption && currentSession !== undefined) {
76
return "caption";
77
}
78
return "announcement";
0 commit comments