mirror of
https://github.com/Myzel394/NumberHub.git
synced 2025-06-19 08:45:27 +02:00
Fixed input processing
Probably last fix for the first iteration of this functionality.
This commit is contained in:
parent
2a348867a2
commit
3220cf20e2
@ -321,7 +321,7 @@ class MainViewModel @Inject constructor(
|
|||||||
* "50+". We don't add "/' here. User will click "/" second time and the input
|
* "50+". We don't add "/' here. User will click "/" second time and the input
|
||||||
* will be "50/".
|
* will be "50/".
|
||||||
*/
|
*/
|
||||||
(lastSecondSymbol in OPERATORS) -> {
|
(lastSecondSymbol in OPERATORS) and (lastSymbol == KEY_MINUS)-> {
|
||||||
deleteDigit()
|
deleteDigit()
|
||||||
}
|
}
|
||||||
// Don't allow multiple operators near each other
|
// Don't allow multiple operators near each other
|
||||||
|
Loading…
x
Reference in New Issue
Block a user