Updated mark antenna as read error handling to use regular string

This commit is contained in:
Kaity A 2022-12-30 01:18:43 +00:00
parent ba4680c512
commit 5a4f70d6a7
2 changed files with 1 additions and 2 deletions

View File

@ -738,7 +738,6 @@ jumpToSpecifiedDate: "Jump to specific date"
showingPastTimeline: "Currently displaying an old timeline"
clear: "Return"
markAllAsRead: "Mark all as read"
failedToMarkAsRead: "Failed to mark all as read"
goBack: "Back"
unlikeConfirm: "Really remove your like?"
fullView: "Full view"

View File

@ -70,7 +70,7 @@ async function doMarkRead() {
return true
}
throw new Error(i18n.ts.failedToMarkAsRead);
throw new Error('Failed to mark all as read');
}
async function markRead() {