no longer needed.
This commit is contained in:
parent
ec52278144
commit
27202e83b7
@ -39,11 +39,6 @@ class MasterViewController: UIViewController, UITableViewDelegate, UITableViewDa
|
||||
|
||||
ipTextField.text = "127.0.0.1:8181"
|
||||
requestButton.layer.cornerRadius = 15.0
|
||||
requestButton.layer.shadowColor = UIColor.black.cgColor
|
||||
requestButton.layer.shadowOpacity = 0.5
|
||||
requestButton.layer.shadowOffset = CGSize(width: 1, height: 2)
|
||||
requestButton.layer.shadowRadius = 1
|
||||
requestButton.layer.masksToBounds = false
|
||||
requestButton.backgroundColor = UIColor.mfGet(forHex: "#d0261d")
|
||||
|
||||
guard let ip = ipTextField.text else { return }
|
||||
@ -84,8 +79,9 @@ class MasterViewController: UIViewController, UITableViewDelegate, UITableViewDa
|
||||
let data = try JSONSerialization.data(withJSONObject: val, options: .prettyPrinted)
|
||||
json = String(data: data, encoding: .utf8)!
|
||||
} catch {
|
||||
|
||||
print(error.localizedDescription)
|
||||
}
|
||||
|
||||
return json
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user