Anki/rslib/src/card
Thomas Graves f5f22edb6a
Don't recalculate remaining steps, conditionally (#3849)
* Don't recalculate remaining steps, conditionally

Bug report reproduction steps:
Create a new profile so that everything is set to default.
Create a new card.
Click Good.
Open deck options and empty learning steps. Save.
No go back and put 1m 10m as LS.
Go back to the card and it should show 10m on the Good button.

Check if old_steps is empty and if it is just use remaining
steps for the new_remaining steps. Add test.

* Update contributers

* Format code

* Fix clippy error

* Use more idiomatic imports
2025-03-14 16:32:28 +07:00
..
mod.rs Don't recalculate remaining steps, conditionally (#3849) 2025-03-14 16:32:28 +07:00
service.rs Update to Rust 1.85 2025-02-21 10:42:42 +07:00
undo.rs Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00