Browse Source

fix: 修改应用图标

zengkunsen 4 months ago
parent
commit
b045f7b98c
2 changed files with 2 additions and 2 deletions
  1. BIN
      assets/CC_Logo.png
  2. 2 2
      component/chargingPage/noChargingOngoingPageComponent.tsx

BIN
assets/CC_Logo.png


+ 2 - 2
component/chargingPage/noChargingOngoingPageComponent.tsx

@@ -47,7 +47,7 @@ const NoChargingOngoingPageComponent = () => {
         }, []) // Add any missing dependencies here if needed
         }, []) // Add any missing dependencies here if needed
     );
     );
 
 
-    const StationRow = ({ item, index }: { item: any, index: number }) => {
+    const StationRow = ({ item }: { item: any }) => {
         // const imageSource = stationImages[stationID] || require('../../assets/dummyStationPicture.png');
         // const imageSource = stationImages[stationID] || require('../../assets/dummyStationPicture.png');
         console.log('image', item.image, item.stationName);
         console.log('image', item.image, item.stationName);
         let imgObj = null
         let imgObj = null
@@ -75,7 +75,7 @@ const NoChargingOngoingPageComponent = () => {
                 }}
                 }}
             >
             >
                 <View className="flex flex-1 flex-row w-full ">
                 <View className="flex flex-1 flex-row w-full ">
-                    <Image style={styles.image} source={imgObj} key={index} />
+                    <Image style={styles.image} source={imgObj} />
                     <View className="flex flex-col gap-2 mt-5 mr-2">
                     <View className="flex flex-col gap-2 mt-5 mr-2">
                         <Text
                         <Text
                             style={{
                             style={{