Sfoglia il codice sorgente

update app/pages/chargeV2/SummaryV2.js

wudebin 4 mesi fa
parent
commit
b42993b4af
1 ha cambiato i file con 14 aggiunte e 4 eliminazioni
  1. 14 4
      Strides-APP/app/pages/chargeV2/SummaryV2.js

+ 14 - 4
Strides-APP/app/pages/chargeV2/SummaryV2.js

@@ -193,14 +193,24 @@ export default class SummaryV2 extends Component {
   render() {
     if (this.state.isPendding) {
       return (
-        <View style={styles.container}>
+        <ScrollView
+          style={styles.container}
+          contentContainerStyle={ui.flex1}
+          refreshControl={
+            <RefreshControl
+              {...MyRefreshProps()}
+              refreshing={this.state.refreshing}
+              onRefresh={() => this.onRefresh()}
+            />
+          }>
           <View style={styles.processContent}>
             <TextView style={styles.processTitle}>{$t("receipt.processTitle")}</TextView>
             <TextView style={styles.processText}>{$t("receipt.processMessage1")}</TextView>
-            <TextView style={styles.processText}>
+            <TextView style={styles.processText}>Please pull down refresh this page after a few minutes to view your receipt.</TextView>
+            {/* <TextView style={styles.processText}>
               {$t("receipt.processMessage2")}
               <Text style={[ui.bold, ui.underline]} onPress={() => this.toTransaction()}>{$t("receipt.processMessage3")}</Text>.
-            </TextView>
+            </TextView> */}
             <TextView style={styles.processText}>{$t("receipt.processMessage4")}</TextView>
           </View>
           <View style={styles.bottomButton}>
@@ -209,7 +219,7 @@ export default class SummaryV2 extends Component {
               elevation={1.5}
               onClick={() => this.toRating()}/>
           </View>
-        </View>
+        </ScrollView>
       )
     } else {
       return (