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 53e186676d
commit 440da0bf22
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" showingPastTimeline: "Currently displaying an old timeline"
clear: "Return" clear: "Return"
markAllAsRead: "Mark all as read" markAllAsRead: "Mark all as read"
failedToMarkAsRead: "Failed to mark all as read"
goBack: "Back" goBack: "Back"
unlikeConfirm: "Really remove your like?" unlikeConfirm: "Really remove your like?"
fullView: "Full view" fullView: "Full view"

View file

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