diff --git a/src/app/output/status.rs b/src/app/output/status.rs index f3a6e29..e0b50b3 100644 --- a/src/app/output/status.rs +++ b/src/app/output/status.rs @@ -82,7 +82,7 @@ pub fn Status() -> impl IntoView { let import_progress = move || { if let Some(progress) = &*state.import_progress().read() { let filename = format!("Filename: {}", progress.filename); - let loading = format!("Loading: {} of {} bytes.", progress.loaded, progress.total); + let loading = format!("Loading: {} of {} bytes", progress.loaded, progress.total); let status = if progress.loaded == progress.total { view! {

"Loading completed"

}.into_any() @@ -94,9 +94,9 @@ pub fn Status() -> impl IntoView { match &progress.opened { Some(success) => { if *success { - view! {

"Process success"

}.into_any() + view! {

"Processing completed"

}.into_any() } else { - view! {

"Process failed"

}.into_any() + view! {

"Processing failed"

}.into_any() } } None => view! {

"Processing..."

}.into_any(), diff --git a/src/app/state.rs b/src/app/state.rs index 6f08007..0da95ad 100644 --- a/src/app/state.rs +++ b/src/app/state.rs @@ -11,7 +11,7 @@ use crate::{FragileComfirmed, SQLightError, SQLiteStatementResult, WorkerHandle} const DEFAULT_CODE: &str = "PRAGMA page_size=4096; -CREATE TABLE IF NOT EXISTS blobs ( +CREATE TABLE IF NOT EXISTS blobs ( id INTEGER PRIMARY KEY, data BLOB );