Use is_valid for Id
This commit is contained in:
+1
-1
@@ -27,6 +27,7 @@ use crate::lang::{DeckSettings, Id, WordData, WordGroup};
|
||||
use crate::navigation::{AppSettings, RootMessage, ScreenState};
|
||||
use crate::quiz::*;
|
||||
use chrono::NaiveDate;
|
||||
use hashbrown::HashMap;
|
||||
use iced::{Font, window};
|
||||
use iced::{Subscription, Theme, keyboard};
|
||||
use iced_core::Size;
|
||||
@@ -34,7 +35,6 @@ use iced_core::window::Position;
|
||||
use iced_core::window::settings::PlatformSpecific;
|
||||
use mimalloc::MiMalloc;
|
||||
use rusqlite::Connection;
|
||||
use hashbrown::HashMap;
|
||||
|
||||
#[global_allocator]
|
||||
static GLOBAL: MiMalloc = MiMalloc;
|
||||
|
||||
Reference in New Issue
Block a user