Skip to content

Commit 988ffd1

Browse files
committed
currency props fix
1 parent d666472 commit 988ffd1

File tree

7 files changed

+24
-7
lines changed

7 files changed

+24
-7
lines changed

example/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@
1717
"react": "16.13.1",
1818
"react-dom": "16.13.1",
1919
"react-native": "0.63.4",
20+
"react-native-okra-webview": "^0.0.9",
2021
"react-native-unimodules": "~0.14.5",
21-
"react-native-web": "~0.13.12"
22+
"react-native-web": "~0.13.12",
23+
"react-native-webview": "^11.17.1"
2224
},
2325
"devDependencies": {
2426
"@babel/core": "~7.9.0",

example/yarn.lock

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6581,7 +6581,7 @@ internal-slot@^1.0.3:
65816581
has "^1.0.3"
65826582
side-channel "^1.0.4"
65836583

6584-
invariant@^2.2.2, invariant@^2.2.4:
6584+
invariant@2.2.4, invariant@^2.2.2, invariant@^2.2.4:
65856585
version "2.2.4"
65866586
resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6"
65876587
integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==
@@ -10031,6 +10031,13 @@ react-is@^17.0.1:
1003110031
resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0"
1003210032
integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==
1003310033

10034+
react-native-okra-webview@^0.0.9:
10035+
version "0.0.9"
10036+
resolved "https://registry.yarnpkg.com/react-native-okra-webview/-/react-native-okra-webview-0.0.9.tgz#7d6a0104e3f977c265dd8c253ff4af4024f5c600"
10037+
integrity sha512-Fmvaf1TA5jNe4TT1auPoGGBNpxxfqvWrPcADUxun9ONHZUwMWQ1oIVMa+JeqrjIvWLajyBIuFIrGrZsIl9JxFA==
10038+
dependencies:
10039+
react-native-webview "*"
10040+
1003410041
react-native-safe-area-context@3.2.0:
1003510042
version "3.2.0"
1003610043
resolved "https://registry.yarnpkg.com/react-native-safe-area-context/-/react-native-safe-area-context-3.2.0.tgz#06113c6b208f982d68ab5c3cebd199ca93db6941"
@@ -10068,6 +10075,14 @@ react-native-web@~0.13.12:
1006810075
prop-types "^15.6.0"
1006910076
react-timer-mixin "^0.13.4"
1007010077

10078+
react-native-webview@*, react-native-webview@^11.17.1:
10079+
version "11.17.1"
10080+
resolved "https://registry.yarnpkg.com/react-native-webview/-/react-native-webview-11.17.1.tgz#a7c9d995d749539995a4fdad8aa6456bac77fc8f"
10081+
integrity sha512-gGdBavATj8Mya2VYZtWtB9cgOAgVJJGlgL5mo/EO8quBeI5L3IBy2ZQolsCyRRGFTUPCc3Ah0OwJal0PjijGqw==
10082+
dependencies:
10083+
escape-string-regexp "2.0.0"
10084+
invariant "2.2.4"
10085+
1007110086
react-native@0.63.4:
1007210087
version "0.63.4"
1007310088
resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.63.4.tgz#2210fdd404c94a5fa6b423c6de86f8e48810ec36"

lib/commonjs/webview-config.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/commonjs/webview-config.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/module/webview-config.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/module/webview-config.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/webview-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const OptionWebViewConfig = (props: OptionWebViewConfigProps) => {
6363
let setwidget_success = props.widget_success ? `${props.widget_success}` : `Your account was linked successfully with ${props.name}`;
6464
let setwidget_failed = props.widget_failed ? `${props.widget_failed}` : `Something went wrong while linking your account to ${props.name}`;
6565
let setExp = props.exp ? `${props.exp}` : null;
66-
let setCurrency = props.currency ? `${props.currency}` : null;
66+
let setCurrency = props.currency ? `${props.currency}` : 'NGN';
6767
let setLimit = props.limit ? `${props.limit}` : null;
6868

6969
return `

0 commit comments

Comments
 (0)