(isListView: boolean)
| 367 | } |
| 368 | |
| 369 | function buildInputGuide(isListView: boolean): React.ReactNode { |
| 370 | return ( |
| 371 | <Text dimColor italic> |
| 372 | <Byline> |
| 373 | <KeyboardShortcutHint shortcut="Enter" action="select" /> |
| 374 | <ConfigurableShortcutHint |
| 375 | action="confirm:no" |
| 376 | context="Confirmation" |
| 377 | fallback="Esc" |
| 378 | description={isListView ? 'close' : 'back'} |
| 379 | /> |
| 380 | </Byline> |
| 381 | </Text> |
| 382 | ) |
| 383 | } |
| 384 | |
| 385 | function RoutineDetail({ |
| 386 | routine, |
no outgoing calls
no test coverage detected