Update TeleActivity.java

Made the back button for tele work
This commit is contained in:
NoahLacks 2025-03-14 08:38:25 -04:00 committed by GitHub
parent ae6409ccd3
commit b9f08ad944
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -147,6 +147,7 @@ public class TeleActivity extends AppCompatActivity {
backButton.setOnLongClickListener((v) -> {
Intent intent = new Intent(this, AutoActivity.class);
startActivity(intent);
return true;
});
@ -183,4 +184,4 @@ public class TeleActivity extends AppCompatActivity {
private void updateNetText() {
netButton.setText(String.format(getResources().getString(R.string.coralScored), "Net\n", matchData.gettNet()));
}
}
}