mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-29 13:27:31 -07:00
Updated mark antenna as read error handling to use regular string
This commit is contained in:
parent
53e186676d
commit
440da0bf22
2 changed files with 1 additions and 2 deletions
|
@ -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 a new issue