mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
decks_configs → deck_configs
This commit is contained in:
parent
5cf1705784
commit
7520afd9c5
2 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@ pub(super) struct ExchangeData {
|
|||
pub(super) cards: Vec<Card>,
|
||||
pub(super) notetypes: Vec<Notetype>,
|
||||
pub(super) revlog: Vec<RevlogEntry>,
|
||||
pub(super) decks_configs: Vec<DeckConfig>,
|
||||
pub(super) deck_configs: Vec<DeckConfig>,
|
||||
pub(super) media_paths: HashSet<PathBuf>,
|
||||
}
|
||||
|
||||
|
@ -42,7 +42,7 @@ impl ExchangeData {
|
|||
|
||||
if with_scheduling {
|
||||
self.revlog = col.gather_revlog()?;
|
||||
self.decks_configs = col.gather_deck_configs(&self.decks)?;
|
||||
self.deck_configs = col.gather_deck_configs(&self.decks)?;
|
||||
} else {
|
||||
self.remove_scheduling_information(col);
|
||||
};
|
||||
|
|
|
@ -11,7 +11,7 @@ impl Collection {
|
|||
self.insert_cards(&data.cards)?;
|
||||
self.insert_notetypes(&data.notetypes)?;
|
||||
self.insert_revlog(&data.revlog)?;
|
||||
self.insert_deck_configs(&data.decks_configs)?;
|
||||
self.insert_deck_configs(&data.deck_configs)?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue