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(
|
||||
self.audio_player_state
|
||||
.current_file_path
|
||||
.to_string_lossy()
|
||||
.to_string(),
|
||||
.file_stem()
|
||||
.unwrap_or_default()
|
||||
.to_str()
|
||||
.unwrap_or_default(),
|
||||
)
|
||||
.color(Color32::WHITE)
|
||||
.family(FontFamily::Monospace),
|
||||
|
||||
Reference in New Issue
Block a user