This commit is contained in:
Bill 2022-03-23 22:57:11 -04:00
parent f64365a976
commit 1796cd36b9
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ export const CameraWidgetCheckoutView: FC<CameraWidgetCheckoutViewProps> = props
<NitroCardContentView> <NitroCardContentView>
<Flex center> <Flex center>
{ (pictureUrl && pictureUrl.length) && { (pictureUrl && pictureUrl.length) &&
<LayoutImage fit={ false } className="picture-preview border" imageUrl={ pictureUrl } /> } <LayoutImage className="picture-preview border" imageUrl={ pictureUrl } /> }
{ (!pictureUrl || !pictureUrl.length) && { (!pictureUrl || !pictureUrl.length) &&
<Flex center className="picture-preview border"> <Flex center className="picture-preview border">
<Text bold>{ LocalizeText('camera.loading') }</Text> <Text bold>{ LocalizeText('camera.loading') }</Text>

View File

@ -188,7 +188,7 @@ export const CameraWidgetEditorView: FC<CameraWidgetEditorViewProps> = props =>
</Column> </Column>
<Column size={ 7 } justifyContent="between" overflow="hidden"> <Column size={ 7 } justifyContent="between" overflow="hidden">
<Column center> <Column center>
<LayoutImage fit={ false } imageUrl={ getCurrentPictureUrl } className="picture-preview" /> <LayoutImage imageUrl={ getCurrentPictureUrl } className="picture-preview" />
{ selectedEffectName && { selectedEffectName &&
<Column center fullWidth gap={ 1 }> <Column center fullWidth gap={ 1 }>
<Text>{ LocalizeText('camera.effect.name.' + selectedEffectName) }</Text> <Text>{ LocalizeText('camera.effect.name.' + selectedEffectName) }</Text>