Browse Source

remove duplicated wkwebview configuration lines

cyberta 3 năm trước cách đây
mục cha
commit
741f13537c
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      deltachat-ios/Controller/WebxdcViewController.swift

+ 0 - 2
deltachat-ios/Controller/WebxdcViewController.swift

@@ -93,8 +93,6 @@ class WebxdcViewController: WebViewViewController {
         }
         preferences.javaScriptCanOpenWindowsAutomatically = false
         config.preferences = preferences
-        preferences.javaScriptEnabled = false
-        config.preferences = preferences
         return config
     }