Migrate to Id type

This commit is contained in:
micialware committed 2026-08-18 12:47:06 +03:00
1 parent 99b3818181
commit 97c76350e1
12 files changed
+106 -62

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ impl NavigatedPage<HistoryMessage> for HistoryState {
}
impl HistoryState {
pub fn new(id: u32, state: Arc<Mutex<AppState>>) -> Self {
pub fn new(id: crate::lang::Id, state: Arc<Mutex<AppState>>) -> Self {
let state = state.lock().unwrap();
let history = get_history_of_set(id);
let words = history