diff --git a/main.lua b/main.lua index 5b155fd..55606ca 100644 --- a/main.lua +++ b/main.lua @@ -155,7 +155,7 @@ local save_bookmark = ya.sync(function(state, idx, custom_desc) _idx = #state.bookmarks + 1 end - local bookmark_desc = tostring(file.url) + local bookmark_desc = tostring(_generate_description(file)) if custom_desc then bookmark_desc = tostring(custom_desc) end