Refactored domain list interface.

Added new logo and icon.
This commit is contained in:
Revertron
2021-05-18 18:16:28 +02:00
parent 827f7477a5
commit 7665a2af3f
25 changed files with 133 additions and 177 deletions
+1 -1
View File
@@ -354,7 +354,7 @@ fn load_domains(context: &mut MutexGuard<Context>, handle: &Handle<()>) {
debug!("Domains: {:?}", &domains.values());
for (_identity, (domain, timestamp, data)) in domains {
let d = serde_json::to_string(&data).unwrap();
let command = format!("addMyDomain('{}', {}, '{}');", &domain, timestamp, &d);
let command = format!("addMyDomain('{}', {}, {}, '{}');", &domain, timestamp, timestamp + DOMAIN_LIFETIME, &d);
let _ = handle.dispatch(move |web_view|{
web_view.eval(&command)
});