round brackets button

This commit is contained in:
Sergey Solovyev 2013-07-18 11:56:17 +04:00
parent 525165a0c8
commit 9297cfaf4b
2 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ public class CalculatorKeyboardImpl implements CalculatorKeyboard {
@Nonnull @Nonnull
private String prepareText(@Nonnull String text) { private String prepareText(@Nonnull String text) {
if ("( )".equals(text)) { if ("( )".equals(text) || "( )".equals(text)) {
return "()"; return "()";
} else { } else {
return text; return text;