File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -134,10 +134,6 @@ final class RichTextViewModel: ObservableObject {
134
134
135
135
selectedMatchIndex = 0
136
136
didUpdateCurrentSelectedMatch ( )
137
- #if os(macOS)
138
- textView? . enclosingScrollView? . verticalRulerView? . needsDisplay = true
139
- #endif
140
-
141
137
isSearchingInBackground = false
142
138
searchIfNeeded ( )
143
139
}
Original file line number Diff line number Diff line change @@ -87,14 +87,14 @@ struct SessionListView: View {
87
87
88
88
private func makeHeader( for startDate: Date , sessions: [ LoggerSessionEntity ] ) -> some View {
89
89
HStack {
90
- #if os(macOS)
90
+ #if os(macOS)
91
91
PlainListSectionHeaderSeparator ( title: sectionTitleFormatter. string ( from: startDate) + " ( \( sessions. count) ) " )
92
- #else
92
+ #else
93
93
( Text ( sectionTitleFormatter. string ( from: startDate) ) +
94
94
Text( " ( \( sessions. count) ) " ) . foregroundColor ( . secondary. opacity ( 0.5 ) ) )
95
95
. font ( . headline)
96
96
. padding ( . vertical, 6 )
97
- #endif
97
+ #endif
98
98
99
99
#if os(iOS) || os(visionOS)
100
100
if editMode? . wrappedValue. isEditing ?? false {
You can’t perform that action at this time.
0 commit comments