check for yomitan init

This commit is contained in:
polv committed 2026-02-24 23:02:39 +07:00
1 parent dcfe074535
commit 3b5afbc34e
3 files changed
+16 -7

No files matched your search

+2 -2
View File
@@ -20,8 +20,8 @@ impl AppService {
Ok(Self { db })
}
pub fn is_yomitan_setup_yet(&self) -> bool {
self.db.is_yomitan_dbfile_exists()
pub fn is_yomitan_setup_yet(&self) -> Result<bool, CJDicError> {
Ok(self.db.is_yomitan_dbfile_init()?)
}
pub fn search_yomitan(