Skip to content

Commit

Permalink
Correction of text formatter.
Browse files Browse the repository at this point in the history
  • Loading branch information
balthaB committed May 9, 2024
1 parent d26a4d5 commit c39e271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch/epfl/chacun/gui/ActionsUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public static Node create(ObservableValue<List<String>> actionsO, Consumer<Strin
change.setText(change.getText().toUpperCase());
change.getText().chars().forEach(i -> {
String c = String.valueOf((char) i);
if (!Base32.isValid(String.valueOf(c)))
if (!Base32.isValid(c))
change.setText(change.getText().replace(c, ""));
});
return change;
Expand Down

0 comments on commit c39e271

Please sign in to comment.