Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- [*] Fix order details presentation when opened from booking details [https://github.com/woocommerce/woocommerce-ios/pull/16331]
- [*] Show POS feedback surveys for eligible merchants [https://github.com/woocommerce/woocommerce-ios/pull/16325]
- [*] Fix product variation selection for order creation [https://github.com/woocommerce/woocommerce-ios/pull/16317]
- [Internal] Fix warning when displaying offline banner on My Store [https://github.com/woocommerce/woocommerce-ios/pull/16347]

23.6
-----
Expand Down
4 changes: 4 additions & 0 deletions WooCommerce/Classes/ViewRelated/Dashboard/DashboardView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ struct DashboardView: View {

storePlanBanner
.renderedIf(connectivityStatus != .notReachable)

OfflineBannerViewRepresentable()
.frame(height: OfflineBannerView.height)
.renderedIf(connectivityStatus == .notReachable)
}
.sheet(isPresented: $showingSupportForm) {
supportForm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@ final class DashboardViewHostingController: UIHostingController<DashboardView> {
await viewModel.reloadAllData()
}
}

override var shouldShowOfflineBanner: Bool {
return true
}
}

// MARK: Private helpers
Expand Down