Skip to content

Commit

Permalink
Added title to window
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Sep 20, 2024
1 parent 235da33 commit 3eec8da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pub fn run() {
let result: anyhow::Result<()> = tauri::async_runtime::block_on(async move {
app.holochain()?
.main_window_builder(String::from("main"), true, None, None).await?
.title(String::from("{{title_case runtime_name}}"))
.build()?;

Ok(())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ pub fn run() {

// After set up we can be sure our app is installed and up to date, so we can just open it
app.holochain()?
.main_window_builder(String::from("main"), false, Some(String::from("{{app_name}}")), None).await?
.main_window_builder(String::from("main"), false, Some(String::from("{{app_name}}")), None)
.await?
.title(String::from("{{title_case app_name}}"))
.build()?;

Ok(())
Expand Down

0 comments on commit 3eec8da

Please sign in to comment.