Pārlūkot izejas kodu

Merge branch 'master' into docs/url-change

Thibault Malbranche 5 gadus atpakaļ
vecāks
revīzija
492be021d2
No account linked to committer's email address

+ 2
- 0
android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java Parādīt failu

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

+ 1
- 1
package.json Parādīt failu

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