Method
commandModeExample
(icon: String, text: String)
Source from the content-addressed store, hash-verified
| 597 | } |
| 598 | |
| 599 | private func commandModeExample(icon: String, text: String) -> some View { |
| 600 | HStack(spacing: 6) { |
| 601 | Image(systemName: icon) |
| 602 | .font(self.theme.typography.captionSmall) |
| 603 | .foregroundStyle(self.commandModeColor.opacity(0.8)) |
| 604 | .frame(width: 14) |
| 605 | Text(text) |
| 606 | .font(self.theme.typography.caption) |
| 607 | .foregroundStyle(.primary.opacity(0.8)) |
| 608 | } |
| 609 | } |
| 610 | |
| 611 | private func writeModeExample(text: String) -> some View { |
| 612 | HStack(spacing: 6) { |
Tested by
no test coverage detected