Skip to content

Commit

Permalink
fix: Wrong background colour used for error text on FW update page #2063
Browse files Browse the repository at this point in the history
  • Loading branch information
priyonto authored Jun 24, 2024
1 parent fe21d86 commit 7ec91f7
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,11 @@ struct DFUUIView: View {
.padding()
.eraseToAnyView()
case let .error(error):
return Text(error.localizedDescription)
.font(muliRegular16)
.eraseToAnyView()
return ZStack {
Color.clear
Text(error.localizedDescription)
.font(muliRegular16)
}.eraseToAnyView()
case let .loaded(latestRelease):
return VStack(alignment: .leading, spacing: 16) {
Text(texts.latestTitle).bold()
Expand Down

0 comments on commit 7ec91f7

Please sign in to comment.