Skip to content

Commit 31554ed

Browse files
committed
Fix crash when tapping Show-All
1 parent 9036403 commit 31554ed

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Sources/PulseUI/Features/Console/List/ConsoleListGroupedSectionView.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ struct ConsoleListGroupedSectionView: View {
2626

2727
if prefix.count < objects.count {
2828
#if os(iOS) || os(visionOS)
29-
NavigationLink(destination: ConsoleStaticList(entities: objects).inlineNavigationTitle(title)) {
29+
NavigationLink(destination: ConsoleStaticList(entities: objects).injecting(environment).inlineNavigationTitle(title)) {
3030
PlainListSeeAllView(count: objects.count)
3131
}
3232
#else

Sources/PulseUI/Features/Search/Views/ConsoleSearchResultsSectionView.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ struct PlainListExpandableSectionHeader<Destination: View>: View {
226226
.font(.subheadline.weight(.medium).monospacedDigit())
227227
if !isSeeAllHidden {
228228
Spacer()
229-
Text("See All")
229+
Text("Show All")
230230
.foregroundColor(.accentColor)
231231
.font(.subheadline)
232232
.background(NavigationLink("", destination: destination).opacity(0))
@@ -241,7 +241,7 @@ struct PlainListSeeAllView: View {
241241
let count: Int
242242

243243
var body: some View {
244-
(Text("See All").foregroundColor(.accentColor) +
244+
(Text("Show All").foregroundColor(.accentColor) +
245245
Text(" (\(count))"))
246246
.font(.subheadline)
247247
.foregroundColor(.secondary)

0 commit comments

Comments
 (0)