CHORE: ninja fix && format

This commit is contained in:
GithubAnon0000 2025-09-29 22:31:06 +02:00
parent 5da16c0f06
commit e9b8f9487e
2 changed files with 18 additions and 22 deletions

View file

@ -97,8 +97,7 @@ impl Collection {
show_remaining_due_counts: self.get_config_bool(BoolKey::ShowRemainingDueCountsInStudy),
show_intervals_on_buttons: self
.get_config_bool(BoolKey::ShowIntervalsAboveAnswerButtons),
hide_colored_buttons: self
.get_config_bool(BoolKey::HideColoredButtons),
hide_colored_buttons: self.get_config_bool(BoolKey::HideColoredButtons),
time_limit_secs: self.get_answer_time_limit_secs(),
load_balancer_enabled: self.get_config_bool(BoolKey::LoadBalancerEnabled),
fsrs_short_term_with_steps_enabled: self
@ -121,10 +120,7 @@ impl Collection {
BoolKey::ShowIntervalsAboveAnswerButtons,
s.show_intervals_on_buttons,
)?;
self.set_config_bool_inner(
BoolKey::HideColoredButtons,
s.hide_colored_buttons,
)?;
self.set_config_bool_inner(BoolKey::HideColoredButtons, s.hide_colored_buttons)?;
self.set_answer_time_limit_secs(s.time_limit_secs)?;
self.set_config_bool_inner(BoolKey::LoadBalancerEnabled, s.load_balancer_enabled)?;
self.set_config_bool_inner(