Skip to content

Commit

Permalink
fix: resolve backend confusion between uppercasing and capitalisation
Browse files Browse the repository at this point in the history
  • Loading branch information
blackxfiied committed Nov 9, 2024
1 parent ed6f2c4 commit 1a08b7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Mythic/Views/Unified/Modules/DownloadCard.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ struct DownloadCard: View {

private var statusText: Text {
if operation.current?.game == game {
return .init("\(operation.current?.type.rawValue.capitalized ?? "MODIFYING") \(Image(systemName: "arrow.down.circle"))")
return .init("\(operation.current?.type.rawValue.uppercased() ?? "MODIFYING") \(Image(systemName: "arrow.down.circle"))")
} else if operation.queue.contains(where: { $0.game == game }) {
return .init("QUEUED \(Image(systemName: "stopwatch"))")
}
Expand Down
2 changes: 1 addition & 1 deletion Mythic/Views/Unified/Sheets/InstallStatusView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ struct InstallStatusView: View {
var body: some View {
if let current = operation.current {
VStack {
Text("\(current.type.rawValue.uppercased()) \"\(current.game.title)\"...")
Text("\(current.type.rawValue.capitalized) \"\(current.game.title)\"...")
.font(.title)

Text("\(Int(operation.status.progress?.percentage ?? 0))% Complete")
Expand Down

0 comments on commit 1a08b7d

Please sign in to comment.