diff --git a/app/components-react/windows/go-live/CommonPlatformFields.tsx b/app/components-react/windows/go-live/CommonPlatformFields.tsx index 7de5efa6b98a..8107df733896 100644 --- a/app/components-react/windows/go-live/CommonPlatformFields.tsx +++ b/app/components-react/windows/go-live/CommonPlatformFields.tsx @@ -9,6 +9,9 @@ import { TLayoutMode } from './platforms/PlatformSettingsLayout'; import { Services } from '../../service-provider'; import AiHighlighterToggle from './AiHighlighterToggle'; import { EAvailableFeatures } from 'services/incremental-rollout'; +import * as remote from '@electron/remote'; +import InfoBanner from 'components-react/shared/InfoBanner'; +import { EDismissable } from 'services/dismissables'; interface ICommonPlatformSettings { title: string; @@ -68,8 +71,6 @@ export const CommonPlatformFields = InputComponent((rawProps: IProps) => { ? p.descriptionIsRequired : p.platform === 'facebook'; - const user = Services.UserService.views; - const hasDescription = p.platform ? view.supports('description', [p.platform as TPlatform]) : view.supports('description'); @@ -91,10 +92,6 @@ export const CommonPlatformFields = InputComponent((rawProps: IProps) => { } const titleTooltip = useMemo(() => { - if (enabledPlatforms.includes('tiktok')) { - return $t('Only 32 characters of your title will display on TikTok'); - } - if (enabledPlatforms.length === 1 && p?.platform === 'kick') { return $t('Edit your stream title on Kick after going live.'); } @@ -102,6 +99,8 @@ export const CommonPlatformFields = InputComponent((rawProps: IProps) => { return undefined; }, [enabledPlatforms]); + const shouldShowTikTokWarning = Services.TikTokService.shouldShowTikTokWarning; + return (