Browse Source

remove duplicated code

cyberta 4 years ago
parent
commit
efcdc77f7a
1 changed files with 0 additions and 2 deletions
  1. 0 2
      deltachat-ios/Controller/FullMessageViewController.swift

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

@@ -75,8 +75,6 @@ class FullMessageViewController: WebViewViewController {
     }
     }
 
 
     @objc func onceActionPressed(_ action: UIAlertAction) {
     @objc func onceActionPressed(_ action: UIAlertAction) {
-        let configuration = self.webView.configuration
-        configuration.userContentController.removeAllContentRuleLists()
         loadUnrestricedHtml()
         loadUnrestricedHtml()
     }
     }