mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
fix: remove async from sendAttachmentsProgressEvent
This commit is contained in:
@@ -10,7 +10,7 @@ export async function sendCheckUserStatusEvent(type) {
|
||||
return results.some((r) => r.type === type && r.result === true);
|
||||
}
|
||||
|
||||
export async function sendAttachmentsProgressEvent(type, total, current) {
|
||||
export function sendAttachmentsProgressEvent(type, total, current) {
|
||||
EV.publish(EVENTS.attachmentsLoading, {
|
||||
type,
|
||||
total,
|
||||
|
||||
Reference in New Issue
Block a user