Repository navigation
v1.0.8
tagged this
15 Nov 22:08
- Removed the restriction on pushing empty stacks in RpnStackHistory, allowing for successful snapshot saving even when the stack is empty. - Updated unit tests to reflect the new behavior, ensuring that empty stacks are now correctly counted in the history and return success on push operations. - Adjusted CalculatorViewModel to simplify stack history management by directly pushing the current stack state without prior checks.