mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 20:57:13 -05:00
CHORE: ninja fix && format
This commit is contained in:
parent
5da16c0f06
commit
e9b8f9487e
2 changed files with 18 additions and 22 deletions
|
|
@ -97,8 +97,7 @@ impl Collection {
|
||||||
show_remaining_due_counts: self.get_config_bool(BoolKey::ShowRemainingDueCountsInStudy),
|
show_remaining_due_counts: self.get_config_bool(BoolKey::ShowRemainingDueCountsInStudy),
|
||||||
show_intervals_on_buttons: self
|
show_intervals_on_buttons: self
|
||||||
.get_config_bool(BoolKey::ShowIntervalsAboveAnswerButtons),
|
.get_config_bool(BoolKey::ShowIntervalsAboveAnswerButtons),
|
||||||
hide_colored_buttons: self
|
hide_colored_buttons: self.get_config_bool(BoolKey::HideColoredButtons),
|
||||||
.get_config_bool(BoolKey::HideColoredButtons),
|
|
||||||
time_limit_secs: self.get_answer_time_limit_secs(),
|
time_limit_secs: self.get_answer_time_limit_secs(),
|
||||||
load_balancer_enabled: self.get_config_bool(BoolKey::LoadBalancerEnabled),
|
load_balancer_enabled: self.get_config_bool(BoolKey::LoadBalancerEnabled),
|
||||||
fsrs_short_term_with_steps_enabled: self
|
fsrs_short_term_with_steps_enabled: self
|
||||||
|
|
@ -121,10 +120,7 @@ impl Collection {
|
||||||
BoolKey::ShowIntervalsAboveAnswerButtons,
|
BoolKey::ShowIntervalsAboveAnswerButtons,
|
||||||
s.show_intervals_on_buttons,
|
s.show_intervals_on_buttons,
|
||||||
)?;
|
)?;
|
||||||
self.set_config_bool_inner(
|
self.set_config_bool_inner(BoolKey::HideColoredButtons, s.hide_colored_buttons)?;
|
||||||
BoolKey::HideColoredButtons,
|
|
||||||
s.hide_colored_buttons,
|
|
||||||
)?;
|
|
||||||
self.set_answer_time_limit_secs(s.time_limit_secs)?;
|
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(BoolKey::LoadBalancerEnabled, s.load_balancer_enabled)?;
|
||||||
self.set_config_bool_inner(
|
self.set_config_bool_inner(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue