🆙 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;
const displayUrl = pictureUrl || base64Url;
return (
<NitroCardView className="nitro-camera-checkout" theme="primary-slim">
<NitroCardHeaderView headerText={ LocalizeText('camera.confirm_phase.title') } onCloseClick={ event => processAction('close') } />
<NitroCardContentView>
<div className="flex items-center justify-center">
{ (pictureUrl && pictureUrl.length) &&
<LayoutImage className="picture-preview border" imageUrl={ pictureUrl } /> }
{ (!pictureUrl || !pictureUrl.length) &&
<div className="flex items-center justify-center picture-preview border">
{ (displayUrl && displayUrl.length) &&
<LayoutImage className="picture-preview border w-[320px] h-[320px]" imageUrl={ displayUrl } /> }
{ (!displayUrl || !displayUrl.length) &&
<div className="flex items-center justify-center picture-preview border w-[320px] h-[320px]">
<Text bold>{ LocalizeText('camera.loading') }</Text>
</div> }
</div>