Skip to content

Commit

Permalink
🐛 Fixes opposite flag set to clearCache.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed Feb 17, 2020
1 parent 55c9d4a commit 609daea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/widgets/webview/in_app_webview.dart
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ class _InAppBrowserPageState extends State<InAppBrowserPage> with AutomaticKeepA
crossPlatform: InAppWebViewOptions(
applicationNameForUserAgent: 'openjmu-webview',
cacheEnabled: widget.withCookie ?? true,
clearCache: widget.withCookie ?? false,
clearCache: !widget.withCookie ?? false,
javaScriptCanOpenWindowsAutomatically: true,
transparentBackground: true,
useOnDownloadStart: true,
Expand Down

0 comments on commit 609daea

Please sign in to comment.