Skip to content

Commit

Permalink
Merge pull request #502 from pennlabs/anli/01-17-no-dining-plan-message
Browse files Browse the repository at this point in the history
Add explanatory message for Dining Analytics not appearing before semester begins
  • Loading branch information
anli5005 authored Jan 21, 2024
2 parents 86bcc1c + e0ac68f commit 45a9282
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions PennMobile/Dining/SwiftUI/DiningAnalyticsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,16 @@ struct DiningAnalyticsView: View {
Image("DiningAnalyticsBackground")
.resizable()
.ignoresSafeArea()
Text("No Dining\nPlan Found\n ")
.multilineTextAlignment(.center)
.font(.system(size: 48, weight: .regular))
.foregroundColor(.black)
.opacity(0.6)
VStack(spacing: 24) {
Text("No Dining Plan Found")
.font(.system(size: 48, weight: .regular))
Text("Dining Analytics may not appear until the day after the semester begins.")
}
.frame(maxWidth: 280)
.padding(.bottom, 64)
.multilineTextAlignment(.center)
.foregroundColor(.black)
.opacity(0.6)
}
} else {
ScrollView {
Expand Down

0 comments on commit 45a9282

Please sign in to comment.