vbea 2 lat temu
rodzic
commit
b9afafc88a
1 zmienionych plików z 16 dodań i 14 usunięć
  1. 16 14
      Strides-APP/app/pages/home/DrawerV2.js

+ 16 - 14
Strides-APP/app/pages/home/DrawerV2.js

@@ -281,20 +281,22 @@ export default DrawerV2 = ({isLogin=false, userInfo, onLogout, sideCountInfo={},
           <TextView style={styles.label}>{$t('drawer.contactSupport')}</TextView>
         </Button>
       }
-      {/* <Button
-        style={styles.itemButton}
-        viewStyle={styles.itemView}
-        onClick={() => {
-          startPage(PageList.about);
-        }}>
-        <MaterialCommunityIcons
-          style={styles.icon}
-          name="information-outline"
-          color="#333"
-          size={26}
-        />
-        <TextView style={styles.label}>{$t('drawer.about')}</TextView>
-      </Button> */}
+      { DEBUG &&
+        <Button
+          style={styles.itemButton}
+          viewStyle={styles.itemView}
+          onClick={() => {
+            startPage(PageList.paymentWeb);
+          }}>
+          <MaterialCommunityIcons
+            style={styles.icon}
+            name="dev-to"
+            color="#333"
+            size={26}
+          />
+          <TextView style={styles.label}>{"Test Page"}</TextView>
+        </Button>
+      }
     </View>
   );
 }