// @flow import React from 'react'; import Nag from 'component/common/nag'; import I18nMessage from 'component/i18nMessage'; import Button from 'component/button'; import { useIsMobile } from 'effects/use-screensize'; type Props = { onClose: () => void, }; export default function NagDegradedPerformance(props: Props) { const { onClose } = props; const isMobile = useIsMobile(); return ( {isMobile ? ( ), }} > lbry.tv collects usage information for itself only (%more_information%). } actionText={__('OK')} onClick={onClose} /> ) : ( ), }} > lbry.tv collects usage information for itself only (%more_information%). Want control over this and more? } actionText={__('Get The App')} href="https://lbry.com/get" onClose={onClose} /> )} ); }