Activity map

This commit is contained in:
2026-08-06 19:12:23 +03:00
parent 3f79444852
commit e320f19a76
4 changed files with 84 additions and 10 deletions
+3
View File
@@ -16,6 +16,7 @@ use std::sync::{Arc, Mutex};
use tokio::task::spawn_blocking;
pub struct RepetitionState {
state: Arc<Mutex<AppState>>,
pub settings: CardSetSettings,
pub set: CardSet,
current_word: WordData,
@@ -43,6 +44,7 @@ impl RepetitionState {
let sink_handle = rodio::DeviceSinkBuilder::open_default_sink().unwrap();
RepetitionState {
state,
settings: set,
set: card_set,
current_word: word,
@@ -109,6 +111,7 @@ impl RepetitionState {
|_| RootMessage::Repetition(RepetitionMessage::PlayFinished),
);
}
Task::none()
}