Unverified Commit 926c2323 authored by Zach Knox's avatar Zach Knox
Browse files

Figuring out schemes for app store distribution

 in the wrong branch but whatever
parent 031ac65e
...@@ -500,6 +500,8 @@ class FacilitiesListViewController: UIViewController, UICollectionViewDelegate, ...@@ -500,6 +500,8 @@ class FacilitiesListViewController: UIViewController, UICollectionViewDelegate,
return cell return cell
} }
//unused
func getLocationArray(_ facilitiesArray: List<Facility>) -> [Facility] { func getLocationArray(_ facilitiesArray: List<Facility>) -> [Facility] {
if(!showFavorites) { if(!showFavorites) {
return placeOpenFacilitiesFirstInArray(facilitiesArray) return placeOpenFacilitiesFirstInArray(facilitiesArray)
...@@ -511,7 +513,7 @@ class FacilitiesListViewController: UIViewController, UICollectionViewDelegate, ...@@ -511,7 +513,7 @@ class FacilitiesListViewController: UIViewController, UICollectionViewDelegate,
} }
//unused
// Returns an array which has the open locations listed first // Returns an array which has the open locations listed first
// Could be improved in the future because currently this means you're checking // Could be improved in the future because currently this means you're checking
// open status twice per cell // open status twice per cell
...@@ -531,6 +533,7 @@ class FacilitiesListViewController: UIViewController, UICollectionViewDelegate, ...@@ -531,6 +533,7 @@ class FacilitiesListViewController: UIViewController, UICollectionViewDelegate,
return open + closed return open + closed
} }
//unused
func countForOpenAndClosedFacilities(_ facilitiesArray: Array<Facility>) -> (open: Int, closed: Int) { func countForOpenAndClosedFacilities(_ facilitiesArray: Array<Facility>) -> (open: Int, closed: Int) {
var open = 0 var open = 0
var closed = 0 var closed = 0
......
...@@ -94,6 +94,7 @@ class FacilityDetailViewController: UIViewController, UITableViewDelegate, UITab ...@@ -94,6 +94,7 @@ class FacilityDetailViewController: UIViewController, UITableViewDelegate, UITab
favoritesButton.backgroundColor = UIColor(red:0.00, green:0.40, blue:0.20, alpha:1.0) favoritesButton.backgroundColor = UIColor(red:0.00, green:0.40, blue:0.20, alpha:1.0)
favoritesButton.layer.cornerRadius = 10 favoritesButton.layer.cornerRadius = 10
OpenTimesList.bounces = false
if #available(iOS 11.0, *) { if #available(iOS 11.0, *) {
navigationItem.largeTitleDisplayMode = .never navigationItem.largeTitleDisplayMode = .never
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment