Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

Commit 8377172

Browse files
authored
TCA iOS v4.2 (#550)
1 parent 36b1027 commit 8377172

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

Campus-iOS/App.swift

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,18 @@ import Firebase
1515
@MainActor
1616
struct CampusApp: App {
1717
@StateObject var model: Model = Model()
18-
let persistenceController = PersistenceController.shared
1918
@State private var selectedTab: Tab = .home
2019
@State var isLoginSheetPresented = false
2120

21+
let persistenceController = PersistenceController.shared
22+
2223
enum Tab {
23-
case home
24-
case grades
25-
case lectures
26-
case calendar
27-
case maps
28-
}
24+
case home
25+
case grades
26+
case lectures
27+
case calendar
28+
case maps
29+
}
2930

3031
init() {
3132
#if !DEBUG

Campus-iOS/ProfileComponent/View/ProfileView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ struct ProfileView: View {
229229
}) {
230230
HStack {
231231
Spacer()
232-
Text("Version 4.1").foregroundColor(colorScheme == .dark ? .init(UIColor.lightGray) : .init(UIColor.darkGray))
232+
Text("Version 4.2").foregroundColor(colorScheme == .dark ? .init(UIColor.lightGray) : .init(UIColor.darkGray))
233233
Spacer()
234234
}
235235
}

0 commit comments

Comments
 (0)