mirror of
https://github.com/arabianq/pipewire-soundpad.git
synced 2026-04-28 06:21:23 +00:00
change: now, instead of the full path to the file, only its name is displayed at the top
This commit is contained in:
+4
-2
@@ -74,8 +74,10 @@ impl SoundpadGui {
|
|||||||
RichText::new(
|
RichText::new(
|
||||||
self.audio_player_state
|
self.audio_player_state
|
||||||
.current_file_path
|
.current_file_path
|
||||||
.to_string_lossy()
|
.file_stem()
|
||||||
.to_string(),
|
.unwrap_or_default()
|
||||||
|
.to_str()
|
||||||
|
.unwrap_or_default(),
|
||||||
)
|
)
|
||||||
.color(Color32::WHITE)
|
.color(Color32::WHITE)
|
||||||
.family(FontFamily::Monospace),
|
.family(FontFamily::Monospace),
|
||||||
|
|||||||
Reference in New Issue
Block a user