rename data provider file names
This commit is contained in:
1 parent
a642a8fda4
commit
af6cf10765
7 files changed
+10
-10
No files matched your search
+3
-3
@@ -5,7 +5,7 @@ use crate::core::srs::{
|
||||
WordOpenMode, WorstWordsSRSModule,
|
||||
};
|
||||
use crate::data::entities::*;
|
||||
use crate::data_provider::card_stats::{load_stats_of_deck, update_stat_score};
|
||||
use crate::data_provider::card_states::{load_stats_of_deck, update_stat_score};
|
||||
use crate::data_provider::history::push_note;
|
||||
use crate::notification::{MaybeError, NotificationData};
|
||||
use chrono::Utc;
|
||||
@@ -42,7 +42,7 @@ impl DeckData {
|
||||
.map(|index| &state_locked.dictionary[index])
|
||||
.cloned()
|
||||
.collect();
|
||||
|
||||
|
||||
Ok(Self {
|
||||
set: stats,
|
||||
words,
|
||||
@@ -62,7 +62,7 @@ impl DeckData {
|
||||
}
|
||||
module.next(self.set.as_slice())
|
||||
}
|
||||
|
||||
|
||||
RandomSRS(ref mut module) => {
|
||||
if !module.initialized {
|
||||
module.init(self.set.as_slice())
|
||||
|
||||
Reference in new issue
Block a user