Revert "NTP-60448 | iOS Assets Changes (#16000)" (#16221)

This commit is contained in:
Prajjaval Verma
2025-05-19 15:24:14 +05:30
committed by GitHub
parent adfe86b7d9
commit 5045e6d941
13 changed files with 6 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 565 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 705 B

BIN
assets/images/cross.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/images/help.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

BIN
assets/images/sww.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@@ -5,34 +5,34 @@ export const AppImage: React.FC<AppImageProps> = ({ imageCode, style }) => {
switch (imageCode) {
case ImageName.SWW:
return (
<Image source={require("../assets/images/sww.png")} style={style} />
<Image source={require("../assets/images/sww.webp")} style={style} />
);
case ImageName.NO_INTERNET:
return (
<Image
source={require("../assets/images/no_internet.png")}
source={require("../assets/images/no_internet.webp")}
style={style}
/>
);
case ImageName.CROSS:
return (
<Image source={require("../assets/images/cross.png")} style={style} />
<Image source={require("../assets/images/cross.webp")} style={style} />
);
case ImageName.HELP:
return (
<Image source={require("../assets/images/help.png")} style={style} />
<Image source={require("../assets/images/help.webp")} style={style} />
);
case ImageName.QUOTE_APOLOGY_ICON:
return (
<Image
source={require("../assets/images/quote_apology_icon.png")}
source={require("../assets/images/quote_apology_icon.webp")}
style={style}
/>
);
case ImageName.BACK_ARROW:
return (
<Image
source={require("../assets/images/arrow_left.png")}
source={require("../assets/images/arrow_left.webp")}
style={style}
/>
);