Merge branch 'master' into docs/url-change

This commit is contained in:
Thibault Malbranche 2019-05-13 09:41:52 +02:00 committed by GitHub
commit 492be021d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -290,6 +290,8 @@ public class RNCWebViewManager extends SimpleViewManager<WebView> {
public void setHardwareAccelerationDisabled(WebView view, boolean disabled) {
if (disabled) {
view.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
} else {
view.setLayerType(View.LAYER_TYPE_NONE, null);
}
}

View File

@ -8,7 +8,7 @@
"Thibault Malbranche <malbranche.thibault@gmail.com>"
],
"license": "MIT",
"version": "5.8.1",
"version": "5.8.2",
"homepage": "https://github.com/react-native-community/react-native-webview#readme",
"scripts": {
"ci": "CI=true && yarn lint && yarn test",