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,
return cell
}
//unused
func getLocationArray(_ facilitiesArray: List<Facility>) -> [Facility] {
if(!showFavorites) {
return placeOpenFacilitiesFirstInArray(facilitiesArray)
......@@ -511,7 +513,7 @@ class FacilitiesListViewController: UIViewController, UICollectionViewDelegate,
}
//unused
// Returns an array which has the open locations listed first
// Could be improved in the future because currently this means you're checking
// open status twice per cell
......@@ -531,6 +533,7 @@ class FacilitiesListViewController: UIViewController, UICollectionViewDelegate,
return open + closed
}
//unused
func countForOpenAndClosedFacilities(_ facilitiesArray: Array<Facility>) -> (open: Int, closed: Int) {
var open = 0
var closed = 0
......
......@@ -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.layer.cornerRadius = 10
OpenTimesList.bounces = false
if #available(iOS 11.0, *) {
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