Long minus check was forgotten
This commit is contained in:
		| @@ -23,30 +23,34 @@ | ||||
|   --> | ||||
|  | ||||
| <LinearLayout xmlns:a="http://schemas.android.com/apk/res/android" | ||||
| 	a:layout_width="match_parent" | ||||
| 	a:layout_height="wrap_content" | ||||
| 	a:orientation="horizontal"> | ||||
| 			  xmlns:tools="http://schemas.android.com/tools" | ||||
| 			  a:layout_width="match_parent" | ||||
| 			  a:layout_height="wrap_content" | ||||
| 			  a:orientation="horizontal"> | ||||
|  | ||||
| 	<Button | ||||
| 		a:id="@+id/function_remove_param_button" | ||||
| 		a:layout_width="0dp" | ||||
| 		a:layout_height="wrap_content" | ||||
| 		a:layout_weight="1" | ||||
| 		a:text="-" /> | ||||
| 		a:text="−" | ||||
| 		tools:ignore="HardcodedText"/> | ||||
|  | ||||
| 	<Button | ||||
| 		a:id="@+id/function_up_param_button" | ||||
| 		a:layout_width="0dp" | ||||
| 		a:layout_height="wrap_content" | ||||
| 		a:layout_weight="1" | ||||
| 		a:text="↑" /> | ||||
| 		a:text="↑" | ||||
| 		tools:ignore="HardcodedText"/> | ||||
|  | ||||
| 	<Button | ||||
| 		a:id="@+id/function_down_param_button" | ||||
| 		a:layout_width="0dp" | ||||
| 		a:layout_height="wrap_content" | ||||
| 		a:layout_weight="1" | ||||
| 		a:text="↓" /> | ||||
| 		a:text="↓" | ||||
| 		tools:ignore="HardcodedText"/> | ||||
|  | ||||
| 	<org.solovyev.android.calculator.function.FunctionParamEditText | ||||
| 		a:id="@+id/function_param_edit_text" | ||||
| @@ -54,6 +58,6 @@ | ||||
| 		a:layout_width="0dp" | ||||
| 		a:layout_height="wrap_content" | ||||
| 		a:layout_weight="3" | ||||
| 		a:inputType="text" /> | ||||
| 		a:inputType="text"/> | ||||
|  | ||||
| </LinearLayout> | ||||
|   | ||||
| @@ -79,7 +79,8 @@ public abstract class AbstractNumberBuilder { | ||||
|  | ||||
| 	private boolean isSignAfterE(@Nonnull MathType.Result mathTypeResult) { | ||||
| 		if (!isHexMode()) { | ||||
| 			if ("-".equals(mathTypeResult.getMatch()) || "+".equals(mathTypeResult.getMatch())) { | ||||
| 			final String match = mathTypeResult.getMatch(); | ||||
| 			if ("−".equals(match) || "-".equals(match) || "+".equals(match)) { | ||||
| 				final StringBuilder localNb = numberBuilder; | ||||
| 				if (localNb != null && localNb.length() > 0) { | ||||
| 					if (localNb.charAt(localNb.length() - 1) == MathType.POWER_10) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 serso
					serso