Merge pull request #46 from kirpy0x/description-format

Make desk_format apply when creating new bookmarks
This commit is contained in:
Diogo Duarte
2025-05-06 11:22:24 +01:00
committed by GitHub

View File

@@ -155,7 +155,7 @@ local save_bookmark = ya.sync(function(state, idx, custom_desc)
_idx = #state.bookmarks + 1 _idx = #state.bookmarks + 1
end end
local bookmark_desc = tostring(file.url) local bookmark_desc = tostring(_generate_description(file))
if custom_desc then if custom_desc then
bookmark_desc = tostring(custom_desc) bookmark_desc = tostring(custom_desc)
end end