Advertise UI Debugger for iOS

Summary:
^

If the connected device was not an Android device, we were not showing the notification. This change removes that check to also advertise on iOS.

Reviewed By: mweststrate

Differential Revision: D42989975

fbshipit-source-id: eac8d588be789dcab281a746395a4fb7a88df790
This commit is contained in:
Lorenzo Blasa
2023-02-03 04:01:23 -08:00
committed by Facebook GitHub Bot
parent d5dc73ecce
commit 7cc8e3732c

View File

@@ -330,10 +330,7 @@ export default class LayoutPlugin extends FlipperPlugin<
}; };
onSuggestUIDebugger = () => { onSuggestUIDebugger = () => {
if ( if (!getFlipperLib().GK('flipper_ui_debugger')) {
!getFlipperLib().GK('flipper_ui_debugger') ||
this.device.os !== 'Android'
) {
return; return;
} }