Skip to content

Commit

Permalink
yes
Browse files Browse the repository at this point in the history
  • Loading branch information
marci1175 committed Dec 21, 2023
1 parent 1430fb2 commit 48cc9ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/ui/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ impl TemplateApp {
//if we already have the sound file :::

ui.with_layout(Layout::left_to_right(Align::Center), |ui|{
ui.label(&audio.file_name);
ui.button("Play");
});

Expand Down Expand Up @@ -547,7 +548,7 @@ impl TemplateApp {
"png" | "jpeg" | "bmp" | "tiff" | "webp" => {
self.send_picture(file_path);
}
"wav" => {
"wav" | "mp3" | "m4a" => {
self.send_audio(file_path);
}
_ => {
Expand Down

0 comments on commit 48cc9ee

Please sign in to comment.