mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-20 15:36:18 +00:00
🆙 Camera preview fix & for archive the org habbo fonts from SWF
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -81,15 +81,17 @@ export const CameraWidgetCheckoutView: FC<CameraWidgetCheckoutViewProps> = props
|
|||||||
|
|
||||||
if(!price) return null;
|
if(!price) return null;
|
||||||
|
|
||||||
|
const displayUrl = pictureUrl || base64Url;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<NitroCardView className="nitro-camera-checkout" theme="primary-slim">
|
<NitroCardView className="nitro-camera-checkout" theme="primary-slim">
|
||||||
<NitroCardHeaderView headerText={ LocalizeText('camera.confirm_phase.title') } onCloseClick={ event => processAction('close') } />
|
<NitroCardHeaderView headerText={ LocalizeText('camera.confirm_phase.title') } onCloseClick={ event => processAction('close') } />
|
||||||
<NitroCardContentView>
|
<NitroCardContentView>
|
||||||
<div className="flex items-center justify-center">
|
<div className="flex items-center justify-center">
|
||||||
{ (pictureUrl && pictureUrl.length) &&
|
{ (displayUrl && displayUrl.length) &&
|
||||||
<LayoutImage className="picture-preview border" imageUrl={ pictureUrl } /> }
|
<LayoutImage className="picture-preview border w-[320px] h-[320px]" imageUrl={ displayUrl } /> }
|
||||||
{ (!pictureUrl || !pictureUrl.length) &&
|
{ (!displayUrl || !displayUrl.length) &&
|
||||||
<div className="flex items-center justify-center picture-preview border">
|
<div className="flex items-center justify-center picture-preview border w-[320px] h-[320px]">
|
||||||
<Text bold>{ LocalizeText('camera.loading') }</Text>
|
<Text bold>{ LocalizeText('camera.loading') }</Text>
|
||||||
</div> }
|
</div> }
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user