Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
[webview_flutter_wkwebview] Fixes typo in an internal method name, fr…
Browse files Browse the repository at this point in the history
…om `setCookieForInsances` to `setCookieForInstances` (#6384)
  • Loading branch information
bparrishMines authored Sep 12, 2022
1 parent 9abe690 commit 3b8addc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## NEXT
## 2.9.4

* Fixes avoid_redundant_argument_values lint warnings and minor typos.
* Fixes typo in an internal method name, from `setCookieForInsances` to `setCookieForInstances`.

## 2.9.3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ class WKHttpCookieStore extends NSObject {

/// Adds a cookie to the cookie store.
Future<void> setCookie(NSHttpCookie cookie) {
return _httpCookieStoreApi.setCookieForInsances(this, cookie);
return _httpCookieStoreApi.setCookieForInstances(this, cookie);
}

@override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ class WKHttpCookieStoreHostApiImpl extends WKHttpCookieStoreHostApi {
}

/// Calls [setCookie] with the ids of the provided object instances.
Future<void> setCookieForInsances(
Future<void> setCookieForInstances(
WKHttpCookieStore instance,
NSHttpCookie cookie,
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: webview_flutter_wkwebview
description: A Flutter plugin that provides a WebView widget based on Apple's WKWebView control.
repository: https://github.com/flutter/plugins/tree/main/packages/webview_flutter/webview_flutter_wkwebview
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+webview%22
version: 2.9.3
version: 2.9.4

environment:
sdk: ">=2.17.0 <3.0.0"
Expand Down

0 comments on commit 3b8addc

Please sign in to comment.