Fix initial url

Godwin Asuquo committed Jan 12, 2023 at 18:06 UTC 9bc337534cc32e84b862f14a7f8e0dbc8f22c1c2
1 file changed +5
lib/src/screens/buy/onramper_page.dart
+5
@@ -75,6 +75,11 @@ class OnRamperPageBodyState extends State<OnRamperPageBody> {
75 initialOptions: InAppWebViewGroupOptions(
76 crossPlatform: InAppWebViewOptions(transparentBackground: true),
77 ),
78 + initialUrlRequest: URLRequest(
79 + url: Uri.tryParse(
80 + widget.uri.toString(),
81 + ),
82 + ),
83 androidOnPermissionRequest: (_, __, resources) async {
84 return PermissionRequestResponse(
85 resources: resources,