custom
jacqueline 7 months ago
parent a879e7b603
commit 90b82e4ad6
  1. 4
      lua/browser.lua

@ -94,7 +94,8 @@ return screen:new{
end end
local get_icon_func = nil local get_icon_func = nil
local show_listened = self.mediatype == database.MediaTypes.Audiobook or self.mediatype == database.MediaTypes.Podcast local show_listened = self.mediatype == database.MediaTypes.Audiobook or
self.mediatype == database.MediaTypes.Podcast
if show_listened then if show_listened then
get_icon_func = function(item) get_icon_func = function(item)
local contents = item:contents() local contents = item:contents()
@ -109,7 +110,6 @@ return screen:new{
return img.unlistened return img.unlistened
end end
end end
end end
end end

Loading…
Cancel
Save