Skip to content

Commit 24c2e5e

Browse files
abhishekbisht1429mariobehling
authored andcommitted
Fixes #2009 Fixed the issue of 'Show Logged Data' menu option of DustSensor showing data from all sensors (#2023)
1 parent ba94304 commit 24c2e5e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/src/main/java/io/pslab/activity/DataLoggerActivity.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ protected void onCreate(Bundle savedInstanceState) {
129129
case "Gas Sensor":
130130
categoryData = LocalDataLog.with().getTypeOfSensorBlocks(getString(R.string.gas_sensor));
131131
break;
132+
case "Dust Sensor":
133+
categoryData = LocalDataLog.with().getTypeOfSensorBlocks(getString(R.string.dust_sensor));
134+
break;
132135
default:
133136
categoryData = LocalDataLog.with().getAllSensorBlocks();
134137
getSupportActionBar().setTitle(getString(R.string.logged_data));

0 commit comments

Comments
 (0)