diff --git a/desktop/plugins/public/ui-debugger/components/main.tsx b/desktop/plugins/public/ui-debugger/components/main.tsx index 2e6604dbd..07674a695 100644 --- a/desktop/plugins/public/ui-debugger/components/main.tsx +++ b/desktop/plugins/public/ui-debugger/components/main.tsx @@ -25,7 +25,7 @@ import {Inspector} from './sidebar/Inspector'; import {Controls} from './Controls'; import {Spin} from 'antd'; import {QueryClientProvider} from 'react-query'; - +import FeedbackRequest from './fb-stubs/feedback'; import {Tree2} from './Tree'; export function Component() { @@ -49,6 +49,7 @@ export function Component() { return ( + {instance.device === 'iOS' ? : null} diff --git a/desktop/plugins/public/ui-debugger/index.tsx b/desktop/plugins/public/ui-debugger/index.tsx index 0c33a5d4e..16a1f66ab 100644 --- a/desktop/plugins/public/ui-debugger/index.tsx +++ b/desktop/plugins/public/ui-debugger/index.tsx @@ -45,6 +45,8 @@ export function plugin(client: PluginClient) { const rootId = createState(undefined); const metadata = createState>(new Map()); + const device = client.device.os; + client.onMessage('init', (event) => { rootId.set(event.rootId); }); @@ -179,6 +181,7 @@ export function plugin(client: PluginClient) { perfEvents, setPlayPause, queryClient, + device, }; }