RN-only icon
Summary: ^ Reviewed By: antonk52, aigoncharov Differential Revision: D50557283 fbshipit-source-id: d869a3159c9c0b0b7e06ac04a1d51bbbe10f0970
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1f13a9dab5
commit
3ed89a50bb
@@ -28,7 +28,6 @@ import {getAppVersion} from '../utils/info';
|
||||
import {getFlipperLib} from 'flipper-plugin';
|
||||
import {ReleaseChannel} from 'flipper-common';
|
||||
import {showChangelog} from '../chrome/ChangelogSheet';
|
||||
import {getRenderHostInstance} from 'flipper-frontend-core';
|
||||
|
||||
const RowContainer = styled(Layout.Horizontal)({
|
||||
alignItems: 'flex-start',
|
||||
@@ -143,8 +142,6 @@ export function WelcomeScreenStaticView() {
|
||||
}
|
||||
|
||||
function WelcomeScreenContent() {
|
||||
const isHeadlessBuild =
|
||||
getRenderHostInstance().serverConfig.environmentInfo.isHeadlessBuild;
|
||||
const isInsidersChannel =
|
||||
config.getReleaseChannel() === ReleaseChannel.INSIDERS;
|
||||
|
||||
@@ -160,7 +157,11 @@ function WelcomeScreenContent() {
|
||||
}}
|
||||
width={125}
|
||||
height={125}
|
||||
src={isHeadlessBuild ? './icon.png' : './icon.png'}
|
||||
src={
|
||||
process.env.FLIPPER_REACT_NATIVE_ONLY
|
||||
? './icon-rn-only.png'
|
||||
: './icon.png'
|
||||
}
|
||||
preview={false}
|
||||
/>
|
||||
<Title level={1}>Welcome to Flipper</Title>
|
||||
|
||||
Reference in New Issue
Block a user