Removed fall detection from main screen algorithms display. Fixes #94

This commit is contained in:
Graham Jones
2023-06-10 20:17:48 +01:00
parent d11b0c2beb
commit bfe02682e8
4 changed files with 21 additions and 9 deletions

View File

@@ -530,6 +530,10 @@ public class MainActivity extends AppCompatActivity {
tv.setBackgroundColor(okColour);
tv.setTextColor(okTextColour);
}
tv = (TextView) findViewById(R.id.algsTv);
tv.setText("Algorithms");
tv.setBackgroundColor(okColour);
tv.setTextColor(okTextColour);
tv = (TextView) findViewById(R.id.osdAlgTv);
tv.setText("OSD ");
if (mConnection.mSdServer.mSdData.mOsdAlarmActive) {
@@ -574,7 +578,7 @@ public class MainActivity extends AppCompatActivity {
tv.setTextColor(okTextColour);
tv.setPaintFlags(tv.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG);
}
tv = (TextView) findViewById(R.id.fallAlgTv);
/* tv = (TextView) findViewById(R.id.fallAlgTv);
tv.setText("Fall ");
if (mConnection.mSdServer.mSdData.mFallActive) {
tv.setBackgroundColor(okColour);
@@ -585,6 +589,7 @@ public class MainActivity extends AppCompatActivity {
tv.setTextColor(okTextColour);
tv.setPaintFlags(tv.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG);
}
*/
}
tv = (TextView) findViewById(R.id.serverIpTv);
tv.setText(getString(R.string.AccessServerAt) + " http://"