Skip to content

Commit

Permalink
Update cash view background color properly in TotalsView to extend …
Browse files Browse the repository at this point in the history
…to fullscreen.
  • Loading branch information
jaclync committed Feb 24, 2025
1 parent 43b7e7d commit 1e15b50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ struct PointOfSaleCollectCashView: View {
.padding([.horizontal])
.padding(.bottom, keyboardFrame.height)
}
.background(backgroundColor)
.animation(.easeInOut, value: errorMessage)
.animation(.easeInOut, value: changeDueMessage)
.onChange(of: textFieldAmountInput) { _ in
Expand Down
4 changes: 2 additions & 2 deletions WooCommerce/Classes/POS/Presentation/TotalsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ struct TotalsView: View {
}
.transition(.opacity)
.accessibilityShowsLargeContentViewer()
.background(backgroundColor)
.background(backgroundColor.ignoresSafeArea(.all))
.dynamicTypeSize(...DynamicTypeSize.accessibility2)
.minimumScaleFactor(isShowingTotalsFields ? 0.5 : 1)
.geometryGroup()
Expand Down Expand Up @@ -95,7 +95,7 @@ struct TotalsView: View {
case .card(.processingPayment):
.posPrimary
case .cash(.collectingCash):
.posSurface
.posSurfaceBright
default:
.clear
}
Expand Down

0 comments on commit 1e15b50

Please sign in to comment.