Skip to content

Commit b7e28cd

Browse files
committed
[webview_flutter_wkwebview] Remove specialization of 'map' in example app to prevent a Swift warning
1 parent 0255ac9 commit b7e28cd

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
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+
## 3.23.2
2+
3+
* Removes specialization of 'map' to fix a Swift warning.
4+
15
## 3.23.1
26

37
* Removes code for versions of iOS older than 13.0.

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

packages/webview_flutter/webview_flutter_wkwebview/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: webview_flutter_wkwebview
22
description: A Flutter plugin that provides a WebView widget based on Apple's WKWebView control.
33
repository: https://github.com/flutter/packages/tree/main/packages/webview_flutter/webview_flutter_wkwebview
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+webview%22
5-
version: 3.23.1
5+
version: 3.23.2
66

77
environment:
88
sdk: ^3.9.0

0 commit comments

Comments
 (0)