Fix volume button scroll

This commit is contained in:
Rafostar
2020-10-13 21:36:11 +02:00
parent 3e96a13f00
commit 80b9eb7c97
2 changed files with 17 additions and 25 deletions

View File

@@ -20,8 +20,9 @@ class ClapperHeaderBar extends Gtk.HeaderBar
let subtitle = mediaInfo.get_uri() || null;
if(subtitle && subtitle.startsWith('file://')) {
subtitle = GLib.filename_from_uri(subtitle)[0];
subtitle = GLib.path_get_basename(subtitle);
subtitle = GLib.path_get_basename(
GLib.filename_from_uri(subtitle)[0]
);
}
if(!title) {