mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Revert "MediaMini: hide when no media is playing"
This reverts commit 8dad25f79c.
This commit is contained in:
@@ -41,10 +41,6 @@ Item {
|
||||
// Fixed width - no expansion
|
||||
readonly property real widgetWidth: Math.max(1, screen.width * 0.06)
|
||||
|
||||
// Visibility: hide when there's no active playback
|
||||
readonly property bool hasTrack: getTitle() !== ""
|
||||
visible: MediaService.isPlaying && hasTrack
|
||||
|
||||
function getTitle() {
|
||||
return MediaService.trackTitle + (MediaService.trackArtist !== "" ? ` - ${MediaService.trackArtist}` : "")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user