Skip to content

Commit 1900922

Browse files
committed
snapshot update
1 parent 18a47ff commit 1900922

File tree

4 files changed

+60
-42
lines changed

4 files changed

+60
-42
lines changed

app/components/UI/ActionModal/__snapshots__/index.test.js.snap

+10-4
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,13 @@ exports[`ActionModal should render correctly 1`] = `
3030
scrollOffsetMax={0}
3131
scrollTo={null}
3232
style={
33-
Object {
34-
"margin": 0,
35-
"width": "100%",
36-
}
33+
Array [
34+
Object {
35+
"margin": 0,
36+
"width": "100%",
37+
},
38+
undefined,
39+
]
3740
}
3841
supportedOrientations={
3942
Array [
@@ -49,12 +52,15 @@ exports[`ActionModal should render correctly 1`] = `
4952
cancelButtonMode="neutral"
5053
cancelTestID=""
5154
cancelText="Cancel"
55+
childrenContainerStyle={null}
5256
confirmButtonMode="warning"
5357
confirmDisabled={false}
5458
confirmTestID=""
5559
confirmText="Confirm"
5660
displayCancelButton={true}
5761
displayConfirmButton={true}
62+
viewContainerStyle={null}
63+
viewWrapperStyle={null}
5864
/>
5965
</ReactNativeModal>
6066
`;

app/components/UI/TransactionReview/TransactionReviewFeeCard/__snapshots__/index.test.js.snap

-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ exports[`TransactionReviewFeeCard should render correctly 1`] = `
111111
Network fee
112112
</Text>
113113
<TouchableOpacity
114-
activeOpacity={0.2}
115114
disabled={true}
116115
>
117116
<Text

app/components/Views/SendFlow/Confirm/__snapshots__/index.test.js.snap

+46-37
Original file line numberDiff line numberDiff line change
@@ -215,55 +215,64 @@ exports[`Confirm should render correctly 1`] = `
215215
ticker="ETH"
216216
/>
217217
</ReactNativeModal>
218-
<ReactNativeModal
219-
animationIn="slideInUp"
220-
animationInTiming={600}
221-
animationOut="slideOutDown"
222-
animationOutTiming={600}
223-
avoidKeyboard={false}
224-
backdropColor="black"
225-
backdropOpacity={0.7}
226-
backdropTransitionInTiming={300}
227-
backdropTransitionOutTiming={300}
228-
deviceHeight={null}
229-
deviceWidth={null}
230-
hasBackdrop={true}
231-
hideModalContentWhileAnimating={false}
232-
isVisible={false}
233-
onBackButtonPress={[Function]}
234-
onBackdropPress={[Function]}
235-
onModalHide={[Function]}
236-
onModalShow={[Function]}
237-
onModalWillHide={[Function]}
238-
onModalWillShow={[Function]}
239-
onSwipeComplete={[Function]}
240-
propagateSwipe={true}
241-
scrollOffset={0}
242-
scrollOffsetMax={0}
243-
scrollTo={null}
244-
style={
218+
<ActionModal
219+
actionContainerStyle={
220+
Object {
221+
"borderTopWidth": 0,
222+
}
223+
}
224+
cancelButtonMode="neutral"
225+
cancelTestID=""
226+
cancelText="Cancel"
227+
childrenContainerStyle={
228+
Object {
229+
"backgroundColor": "#FFFFFF",
230+
"borderTopLeftRadius": 20,
231+
"borderTopRightRadius": 20,
232+
"paddingHorizontal": 24,
233+
"paddingTop": 24,
234+
"width": "100%",
235+
}
236+
}
237+
confirmButtonMode="confirm"
238+
confirmDisabled={true}
239+
confirmTestID=""
240+
confirmText="Save"
241+
displayCancelButton={false}
242+
displayConfirmButton={true}
243+
modalStyle={
245244
Object {
245+
"alignItems": "center",
246246
"justifyContent": "flex-end",
247-
"margin": 0,
247+
"width": "100%",
248248
}
249249
}
250-
supportedOrientations={
251-
Array [
252-
"portrait",
253-
"landscape",
254-
]
250+
modalVisible={false}
251+
onConfirmPress={[Function]}
252+
onRequestClose={[Function]}
253+
viewContainerStyle={
254+
Object {
255+
"borderRadius": 20,
256+
}
257+
}
258+
viewWrapperStyle={
259+
Object {
260+
"backgroundColor": "#FFFFFF",
261+
"borderTopLeftRadius": 20,
262+
"borderTopRightRadius": 20,
263+
"marginHorizontal": 0,
264+
"paddingBottom": 24,
265+
}
255266
}
256-
swipeDirection="down"
257-
swipeThreshold={100}
258-
useNativeDriver={false}
259267
>
260268
<Connect(CustomGas)
261269
handleGasFeeSelection={[Function]}
262270
handleSetGasFee={[Function]}
271+
parentStateReady={[Function]}
263272
selected="average"
264273
toggleCustomGasModal={[Function]}
265274
/>
266-
</ReactNativeModal>
275+
</ActionModal>
267276
<ReactNativeModal
268277
animationIn="slideInUp"
269278
animationInTiming={300}

app/components/Views/SendFlow/CustomGas/__snapshots__/index.test.js.snap

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ exports[`CustomGas should render correctly 1`] = `
77
"alignItems": "center",
88
"backgroundColor": "#FFFFFF",
99
"justifyContent": "center",
10+
"minHeight": 200,
11+
"width": "100%",
1012
}
1113
}
1214
>
@@ -20,6 +22,8 @@ exports[`CustomGas should render correctly 1`] = `
2022
"alignItems": "center",
2123
"backgroundColor": "#FFFFFF",
2224
"justifyContent": "center",
25+
"minHeight": 200,
26+
"width": "100%",
2327
}
2428
}
2529
/>

0 commit comments

Comments
 (0)