mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-30 13:04:13 +00:00
remove extra format macros
This commit is contained in:
parent
5637e5a44f
commit
dc3b3f5a36
@ -95,7 +95,7 @@ impl Page {
|
|||||||
Self {
|
Self {
|
||||||
id: id.clone(),
|
id: id.clone(),
|
||||||
profile: profile.clone(),
|
profile: profile.clone(),
|
||||||
title: Rc::new(RefCell::new(gformat!("New page"))),
|
title: Rc::new(RefCell::new("New page".into())),
|
||||||
// Actions
|
// Actions
|
||||||
browser_action: browser_action.clone(),
|
browser_action: browser_action.clone(),
|
||||||
tab_action: tab_action.clone(),
|
tab_action: tab_action.clone(),
|
||||||
@ -187,7 +187,7 @@ impl Page {
|
|||||||
|
|
||||||
// Update
|
// Update
|
||||||
self.status.replace(Status::Loading { time: now() });
|
self.status.replace(Status::Loading { time: now() });
|
||||||
self.title.replace(gformat!("Loading.."));
|
self.title.replace("Loading..".into());
|
||||||
self.browser_action.update.activate(Some(&self.id));
|
self.browser_action.update.activate(Some(&self.id));
|
||||||
|
|
||||||
if is_history {
|
if is_history {
|
||||||
@ -296,7 +296,7 @@ impl Page {
|
|||||||
input.set_new_titan(move |data| {}); // @TODO
|
input.set_new_titan(move |data| {}); // @TODO
|
||||||
|
|
||||||
status.replace(Status::Input { time: now() });
|
status.replace(Status::Input { time: now() });
|
||||||
title.replace(gformat!("Titan input")); // @TODO
|
title.replace("Titan input".into()); // @TODO
|
||||||
|
|
||||||
browser_action.update.activate(Some(&id));
|
browser_action.update.activate(Some(&id));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user