Skip to content

Commit

Permalink
Commit to test on windows with Phill 7
Browse files Browse the repository at this point in the history
  • Loading branch information
lgmarchi committed Jan 11, 2024
1 parent 07ebf60 commit 12399d2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ui/src/components/files/file_preview.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,14 @@ pub fn FilePreview<'a>(cx: Scope<'a, Props<'a>>) -> Element<'a> {
temp_dir.to_string_lossy().to_string()
} else {
format!(
"file://{}",
"dioxus://{}",
temp_dir.to_string_lossy().to_string().replace("\\", "/")
)
};

println!(
"Phill -> temp_file_path_as_string: {}",
temp_file_path_as_string
);
use_component_lifecycle(
cx,
|| {},
Expand Down

0 comments on commit 12399d2

Please sign in to comment.