Skip to content

Commit

Permalink
Catalyst
Browse files Browse the repository at this point in the history
  • Loading branch information
ShihabM committed Oct 6, 2019
1 parent 74cc71d commit b15b5df
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 2 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file added Assets/[email protected]
Binary file not shown.
Binary file modified Mast/.DS_Store
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion Mast/Mast/Views/SettingsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class SettingsViewController: UIViewController, UITableViewDataSource, UITableVi
self.navigationItem.setRightBarButton(settingsButton, animated: true)

self.navigationController?.navigationBar.prefersLargeTitles = true
self.navigationController?.navigationBar.largeTitleTextAttributes = [NSAttributedString.Key.foregroundColor : GlobalStruct.baseTint]
self.navigationController?.navigationBar.largeTitleTextAttributes = [NSAttributedString.Key.foregroundColor : UIColor(named: "baseBlack")!]

NotificationCenter.default.addObserver(self, selector: #selector(self.notifChangeTint), name: NSNotification.Name(rawValue: "notifChangeTint"), object: nil)

Expand Down
2 changes: 1 addition & 1 deletion Mast/Mast/Views/TintSettingsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class TintSettingsViewController: UIViewController, UITableViewDataSource, UITab
self.view.backgroundColor = UIColor(named: "lighterBaseWhite")
self.title = "App Tint".localized
self.navigationController?.navigationBar.prefersLargeTitles = true
self.navigationController?.navigationBar.largeTitleTextAttributes = [NSAttributedString.Key.foregroundColor : GlobalStruct.baseTint]
self.navigationController?.navigationBar.largeTitleTextAttributes = [NSAttributedString.Key.foregroundColor : UIColor(named: "baseBlack")!]

self.tableView = UITableView(frame: .zero, style: .insetGrouped)
self.tableView.register(UITableViewCell.self, forCellReuseIdentifier: "settingsCell")
Expand Down

0 comments on commit b15b5df

Please sign in to comment.