feat: compatibility with Yazi 0.4

This commit is contained in:
sxyazi
2024-10-14 01:58:34 +08:00
parent 932b9311a8
commit 7715b94be5

View File

@@ -1069,7 +1069,8 @@ function M:fetch()
end
if next(updates) then
ya.manager_emit("update_mimetype", { updates = updates })
ya.manager_emit("update_mimes", { updates = updates })
ya.manager_emit("update_mimetype", { updates = updates }) -- TODO: remove this
end
if #unknown > 0 then