Skip to content

Commit

Permalink
Merge pull request #151 from DJBen/darken
Browse files Browse the repository at this point in the history
Make refresh control's text light
  • Loading branch information
DJBen authored Jan 16, 2018
2 parents 507df98 + 6edd580 commit b1868ba
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ class ObserverRTSViewController: BaseTableViewController {
self.refreshControl = {
let refreshControl = UIRefreshControl()
refreshControl.addTarget(self, action: #selector(handleRefresh(target:)), for: .valueChanged)
refreshControl.attributedTitle = NSAttributedString(string: "Pull to reload RTS info")
let attributes = [NSAttributedStringKey.foregroundColor: UIColor.lightText]
refreshControl.attributedTitle = NSAttributedString(string: "Pull to reload RTS info", attributes: attributes)
return refreshControl
}()
self.clearsSelectionOnViewWillAppear = false
Expand Down

0 comments on commit b1868ba

Please sign in to comment.