Skip to content

Commit

Permalink
Merge pull request #214 from panndoraBoo/master
Browse files Browse the repository at this point in the history
Fixes null error when calling getOptions for InAppBrowser class
  • Loading branch information
pichillilorenzo authored Dec 9, 2019
2 parents 9d5e1f5 + bc55253 commit 7f2eea6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/in_app_browser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ class InAppBrowser {
options = options.cast<String, dynamic>();
inAppBrowserClassOptions.inAppBrowserOptions =
InAppBrowserOptions.fromMap(options);
inAppBrowserClassOptions.inAppWebViewWidgetOptions = InAppWebViewWidgetOptions();
inAppBrowserClassOptions.inAppWebViewWidgetOptions.inAppWebViewOptions =
InAppWebViewOptions.fromMap(options);
if (Platform.isAndroid) {
Expand Down

0 comments on commit 7f2eea6

Please sign in to comment.