Skip to content

Commit

Permalink
Add controller type to recent error and alarms list items in diagnost…
Browse files Browse the repository at this point in the history
…ics report
  • Loading branch information
walidkayhan committed Jan 31, 2024
1 parent 6c5ba70 commit fdb5e27
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/app/lib/diagnostics.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ const styles = StyleSheet.create({
fontFamily: 'Helvetica-Bold'
},
lineWrapper: {
marginTop: 6
marginTop: 6,
marginBottom: 6
},
textBold: {
fontSize: 12,
Expand Down Expand Up @@ -569,7 +570,8 @@ function generateSupportFile() {
<Text style={[styles.error, { color: 'red' }]}>
{'    ' + log.MESSAGE + '\n'}
</Text>
<Text>{'    Input:' + log.line + '\n'}</Text>
<Text>{'    Input: ' + log.line}</Text>
<Text>{'    Controller: ' + log.controller}</Text>
</Text>
</View>
);
Expand All @@ -595,7 +597,8 @@ function generateSupportFile() {
<Text style={[styles.error, { color: 'red' }]}>
{'    ' + log.MESSAGE + '\n'}
</Text>
{'    Input: ' + log.line + '\n'}
<Text>{'    Input: ' + log.line}</Text>
<Text>{'    Controller: ' + log.controller}</Text>
</Text>
</View>
);
Expand Down

0 comments on commit fdb5e27

Please sign in to comment.