|
@ -270,6 +270,8 @@ class HomeViewController: UIViewController { |
|
|
object: nil |
|
|
object: nil |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
self.navigationController?.navigationBar.setValue(true, forKey: "hidesShadow") |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
override func viewWillAppear(_ animated: Bool) { |
|
|
override func viewWillAppear(_ animated: Bool) { |
|
@ -288,6 +290,10 @@ class HomeViewController: UIViewController { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
override func viewDidLayoutSubviews() { |
|
|
|
|
|
super.viewDidLayoutSubviews() |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
override func viewWillDisappear(_ animated: Bool) { |
|
|
override func viewWillDisappear(_ animated: Bool) { |
|
|
super.viewWillDisappear(animated) |
|
|
super.viewWillDisappear(animated) |
|
|
self.navigationItem.title = "" |
|
|
self.navigationItem.title = "" |
|
@ -322,6 +328,7 @@ class HomeViewController: UIViewController { |
|
|
private func setupHierachy() { |
|
|
private func setupHierachy() { |
|
|
|
|
|
|
|
|
accountDetailView.setupCornerRadius(20,maskedCorners: [.layerMinXMaxYCorner, .layerMaxXMaxYCorner]) |
|
|
accountDetailView.setupCornerRadius(20,maskedCorners: [.layerMinXMaxYCorner, .layerMaxXMaxYCorner]) |
|
|
|
|
|
accountDetailView.layer.addShadow(with: UIColor.gray, shadowRadius: 10.0, shadowOffset: CGSize(width: 0, height: 1)) |
|
|
|
|
|
|
|
|
uploadSlipButton.titleLabel?.font = .sanfrancisco(.bold, size: 12) |
|
|
uploadSlipButton.titleLabel?.font = .sanfrancisco(.bold, size: 12) |
|
|
uploadSlipButton.set(cornerRadius: 20) |
|
|
uploadSlipButton.set(cornerRadius: 20) |
|
|