Skip to content

Commit

Permalink
update ui
Browse files Browse the repository at this point in the history
  • Loading branch information
thanhbh authored and thanhbh committed May 10, 2018
1 parent eb4021e commit d36c30d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions windows-shopper/Controllers/MainViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ class MainViewController: UIViewController {
self.view.addGestureRecognizer(tapGestureBackground)
// Do any additional setup after loading the view, typically from a nib.
let btnCalculator = UIButton(frame: CGRect(x: 0, y: 0, width: view.frame.size.width, height: 60))
// btnCalculator.backgroundColor = #colorLiteral(red: 1, green: 0.5763723254, blue: 0, alpha: 1)
btnCalculator.backgroundColor = UIColor(red: 1, green: 0.5763723254, blue: 0, alpha: 1)
btnCalculator.backgroundColor = #colorLiteral(red: 1, green: 0.5763723254, blue: 0, alpha: 1)
// btnCalculator.backgroundColor = UIColor(red: 1, green: 0.5763723254, blue: 0, alpha: 1)
btnCalculator.setTitle("Calculator", for: .normal)
// btnCalculator.setTitleColor(#colorLiteral(red: 1.0, green: 1.0, blue: 1.0, alpha: 1.0), for: .normal)
btnCalculator.setTitleColor(UIColor(white: 1, alpha: 1), for: .normal)
btnCalculator.setTitleColor(#colorLiteral(red: 1.0, green: 1.0, blue: 1.0, alpha: 1.0), for: .normal)
// btnCalculator.setTitleColor(UIColor(white: 1, alpha: 1), for: .normal)
btnCalculator.addTarget(self, action: #selector(MainViewController.calculate), for: .touchUpInside)
txtWage.inputAccessoryView = btnCalculator
txtPrice.inputAccessoryView = btnCalculator
Expand Down

0 comments on commit d36c30d

Please sign in to comment.