file picker - file input

This commit is contained in:
Martin Kavík 2024-06-04 20:46:10 +02:00
parent ce36cd914f
commit e3e3820cc5
7 changed files with 130 additions and 35 deletions

View file

@ -4,7 +4,9 @@ pub(super) async fn show_window() {
tauri_glue::show_window().await.unwrap_throw()
}
pub(super) async fn pick_and_load_waveform() -> Option<super::Filename> {
pub(super) async fn pick_and_load_waveform(
_file: Option<gloo_file::File>,
) -> Option<super::Filename> {
tauri_glue::pick_and_load_waveform()
.await
.unwrap_throw()