fix: don't show whole db url (and credentials)

This commit is contained in:
əlemi 2022-11-04 02:12:54 +01:00
parent 9a7b29c8f8
commit 4bc7cab8d8
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -169,6 +169,8 @@ fn main() {
info!(target: "launcher", "Starting native GUI"); info!(target: "launcher", "Starting native GUI");
let db_name = args.db.clone().split('/').last().unwrap_or("").to_string();
eframe::run_native( eframe::run_native(
// TODO replace this with a loop that ends so we can cleanly exit the background worker // TODO replace this with a loop that ends so we can cleanly exit the background worker
"dashboard", "dashboard",
@ -181,7 +183,7 @@ fn main() {
Box::new( Box::new(
App::new( App::new(
cc, cc,
args.db, db_name,
args.interval as i64, args.interval as i64,
view, view,
width_tx, width_tx,