Merge pull request #46 from kirpy0x/description-format
Make desk_format apply when creating new bookmarks
This commit is contained in:
2
main.lua
2
main.lua
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user