Skip to content

Commit a00b8ba

Browse files
prajakta128marcnause
authored andcommitted
fix: use consistent instrument name for soundmeter playback
_getChartConfig used 'soundmeter' but _playFile used 'sound meter', causing the chart config to never match and sound meter playback to silently do nothing. Changed _getChartConfig to use 'sound meter' to match the value from appLocalizations.soundMeter.toLowerCase().
1 parent 310f08e commit a00b8ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/view/logged_data_screen.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ class _LoggedDataScreenState extends State<LoggedDataScreen> {
330330
'xDataColumnIndex': 0,
331331
'yDataColumnIndex': 2,
332332
};
333-
case 'soundmeter':
333+
case 'sound meter':
334334
return {
335335
'xAxisLabel': appLocalizations.timeAxisLabel,
336336
'yAxisLabel': appLocalizations.db,

0 commit comments

Comments
 (0)