Skip to content

Commit

Permalink
Small Stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
TekRekon committed Feb 26, 2020
1 parent 4f329db commit 0c21af9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
1 change: 1 addition & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,7 @@ public void autoPopulate() {
for (CheckBox b : robotQuickComments) {
for (String comment : ROBOT_COMMENT_VALUES) {
if (b.getText().toString().equals(comment)) {
if (robotQuickCommentSelections.get(comment) == null) {
b.setChecked(false);
} else {
b.setChecked(robotQuickCommentSelections.get(comment));
}
b.setChecked(robotQuickCommentSelections.get(comment));
}
}
}
Expand Down Expand Up @@ -274,7 +270,6 @@ public void autoPopulate() {
}

public void saveState() {
Log.wtf("IDK", "SAvteSTAte Acually Ran Yahoo");
StringBuilder focus = new StringBuilder();
for (CheckBox cb : focusButtons) {
if (cb.isChecked()) {
Expand Down Expand Up @@ -339,7 +334,7 @@ private void generateRobotQuickComments() {

int prevId = -1;

for (int i = 0; i < ROBOT_COMMENT_VALUES.length / 2; i++) {
for (int i = 0; i < Math.ceil(ROBOT_COMMENT_VALUES.length / 2.0); i++) {
ArrayList<String> checkSetValues = new ArrayList<>();
checkSetValues.add(ROBOT_COMMENT_VALUES[i * 2]);
try {
Expand Down

0 comments on commit 0c21af9

Please sign in to comment.