Skip to content

Commit f773e1c

Browse files
committed
[webview_flutter_wkwebview] Remove specialization of 'map' in example app to prevent a Swift warning
1 parent 09533b7 commit f773e1c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/webview_flutter/webview_flutter_wkwebview/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## NEXT
2+
3+
* Removes specialization of 'map' in example app to fix a Swift warning.
4+
15
## 3.23.0
26

37
* Adds support for `PlatformWebViewController.loadFileWithParams`.

packages/webview_flutter/webview_flutter_wkwebview/darwin/webview_flutter_wkwebview/Sources/webview_flutter_wkwebview/HTTPCookieProxyAPIDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class HTTPCookieProxyAPIDelegate: PigeonApiDelegateHTTPCookie {
1414
) throws -> HTTPCookie {
1515
let registrar = pigeonApi.pigeonRegistrar as! ProxyAPIRegistrar
1616

17-
let keyValueTuples = try! properties.map<[(HTTPCookiePropertyKey, Any)], PigeonError> {
17+
let keyValueTuples = try! properties.map {
1818
key, value in
1919

2020
let newKey: HTTPCookiePropertyKey

0 commit comments

Comments
 (0)