Skip to content

Commit 59c7ae6

Browse files
authored
Merge pull request #231 from woocommerce/fix/order-bg-color
Updates the background color on the order screens
2 parents 0065cd7 + e46689d commit 59c7ae6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

WooCommerce/Classes/ViewRelated/Orders/OrderDetails/OrderDetailsViewController.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ private extension OrderDetailsViewController {
7979
/// Setup: TableView
8080
///
8181
func configureTableView() {
82+
view.backgroundColor = StyleManager.tableViewBackgroundColor
83+
tableView.backgroundColor = StyleManager.tableViewBackgroundColor
8284
tableView.estimatedSectionHeaderHeight = Constants.sectionHeight
8385
tableView.estimatedSectionFooterHeight = Constants.rowHeight
8486
tableView.estimatedRowHeight = Constants.rowHeight

WooCommerce/Classes/ViewRelated/Orders/OrdersViewController.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ private extension OrdersViewController {
9090
}
9191

9292
func configureTableView() {
93+
view.backgroundColor = StyleManager.tableViewBackgroundColor
94+
tableView.backgroundColor = StyleManager.tableViewBackgroundColor
9395
tableView.estimatedRowHeight = Constants.estimatedRowHeight
9496
tableView.rowHeight = UITableViewAutomaticDimension
9597
tableView.refreshControl = refreshControl

0 commit comments

Comments
 (0)