Updated mark antenna as read error handling to use regular string
This commit is contained in:
parent
ba4680c512
commit
5a4f70d6a7
|
@ -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"
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue