🆙 Camera preview fix & for archive the org habbo fonts from SWF

This commit is contained in:
duckietm
2026-02-27 14:23:51 +01:00
parent 9939e90828
commit 1629f63f9b
6 changed files with 6 additions and 4 deletions
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>