Skip to content
This repository was archived by the owner on Oct 12, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's rename the files to be more descriptive, so we know what each file respresents.

IMO we keep the config filename fields the same, but we change the actual filenames to match what is in the config

Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"images" : [
{
"filename" : "Background@1x.png",
"filename" : "iPhone 16 - 1 10.52.16 AM.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Background@2x.png",
"filename" : "iPhone 16 - 1 (1) 10.52.16 AM.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Background@3x.png",
"filename" : "iPhone 16 - 1 (2) 10.52.16 AM.png",
"idiom" : "universal",
"scale" : "3x"
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions HackIllinois/ViewControllers/HIScheduleViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class HIScheduleViewController: HIEventListViewController {

@objc dynamic override func setUpBackgroundView() {
super.setUpBackgroundView()
backgroundView.image = #imageLiteral(resourceName: "PurpleBackground")
backgroundView.image = #imageLiteral(resourceName: "ScheduleBackground")
if UIDevice.current.userInterfaceIdiom == .pad {
backgroundView.image = #imageLiteral(resourceName: "BackgroundPad")
}
Expand Down Expand Up @@ -244,7 +244,7 @@ extension HIScheduleViewController {
@objc func scheduleButtonTapped(_ sender: UIButton) {
if onlyShifts {
onlyShifts = false
backgroundView.image = #imageLiteral(resourceName: "PurpleBackground")
backgroundView.image = #imageLiteral(resourceName: "ScheduleBackground")
labelColor = .white // Set label color to brown
setStaffShiftsControl()
// Call removeStaffShiftContainerViews to remove container views for staff shifts
Expand Down
Loading