Pārlūkot izejas kodu

Show toolbar for external sites

Marino Faggiana 6 gadi atpakaļ
vecāks
revīzija
478dcf4c5c
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      iOSClient/Main/CCMore.swift

+ 2 - 2
iOSClient/Main/CCMore.swift

@@ -340,14 +340,14 @@ class CCMore: UIViewController, UITableViewDelegate, UITableViewDataSource, CCLo
             
             if (self.splitViewController?.isCollapsed)! {
                 
-                let webVC = SwiftWebVC(urlString: item.url, hideToolbar: true)
+                let webVC = SwiftWebVC(urlString: item.url, hideToolbar: false)
                 webVC.delegate = self
                 self.navigationController?.pushViewController(webVC, animated: true)
                 self.navigationController?.navigationBar.isHidden = false
                 
             } else {
                 
-                let webVC = SwiftModalWebVC(urlString: item.url)
+                let webVC = SwiftModalWebVC(urlString: item.url, theme: .dark, color: UIColor.clear, colorText: UIColor.black, doneButtonVisible: true)  //(urlString: item.url)
                 webVC.delegateWeb = self
                 self.present(webVC, animated: true, completion: nil)
             }