File tree 1 file changed +17
-6
lines changed
Sources/PulseUI/PulseUI.docc
1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -58,20 +58,31 @@ struct AnalyticsLogsView: View {
58
58
59
59
var body: some View {
60
60
List (messages, id : \.objectID ) { message in
61
- VStack (alignment : .leading ) {
62
- Text (timeFormatter.string (from : message.createdAt ))
63
- .font (.footnote )
64
- .foregroundColor (.secondary )
65
- Text (message.text )
66
- .lineLimit (2 )
61
+ NavigationLink {
62
+ Text (" TOOD: your details view here" )
63
+ } label : {
64
+ VStack (alignment : .leading ) {
65
+ HStack {
66
+ Text (timeFormatter.string (from : message.createdAt ))
67
+ .font (.footnote )
68
+ .foregroundColor (.secondary )
69
+ Spacer ()
70
+ ListDisclosureIndicator ()
71
+ }
72
+ Text (message.text )
73
+ .lineLimit (2 )
74
+ }
67
75
}
68
76
}
77
+ .listStyle (.plain )
69
78
}
70
79
}
71
80
72
81
private let timeFormatter = DateFormatter (format : " HH:mm:ss.SSS" )
73
82
```
74
83
84
+ > tip: For a complete example, see the [ Integrations] ( https://github.com/kean/Pulse/tree/main/Demo/Integrations ) demo.
85
+
75
86
## PulseUI on watchOS
76
87
77
88
## Topics
You can’t perform that action at this time.
0 commit comments