Skip to content

Commit

Permalink
Make refresh control's text light
Browse files Browse the repository at this point in the history
  • Loading branch information
DJBen committed Jan 16, 2018
1 parent 507df98 commit 6edd580
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 6edd580

Please sign in to comment.