Force theming on tooltips for calling

This commit is contained in:
Josh Perez 2020-11-19 18:38:59 -05:00 committed by Josh Perez
parent 6a6f8e28ce
commit 8ff0ca9593
6 changed files with 60 additions and 21 deletions

View file

@ -2,7 +2,7 @@
// SPDX-License-Identifier: AGPL-3.0-only
import React from 'react';
import { Tooltip } from './Tooltip';
import { Tooltip, TooltipTheme } from './Tooltip';
import { CallingPipRemoteVideo } from './CallingPipRemoteVideo';
import { LocalizerType } from '../types/Util';
import { VideoFrameSource } from '../types/Calling';
@ -184,7 +184,7 @@ export const CallingPip = ({
}}
type="button"
/>
<Tooltip content={i18n('calling__pip--off')}>
<Tooltip content={i18n('calling__pip--off')} theme={TooltipTheme.Dark}>
<button
aria-label={i18n('calling__pip--off')}
className="module-calling-pip__button--pip"