fix: type errors

* fix app.tsx

* fix InfoItem

* fix helpers

* fix webview ref

* fix MoreScreen

* fix NovelScreenButtonGroup

* fix ReaderScreen

* fix readerTextAlignSelector

* fix ReaderValueChange

* fix UpdateNovelCard

* fix myAnimeList

* fixed legacy backup

* fix migrateNovel
This commit is contained in:
Patrick Loser
2025-05-08 22:39:02 +02:00
committed by GitHub
parent f90a4d1103
commit c487bd2ca6
20 changed files with 94 additions and 67 deletions
+1
View File
@@ -65,6 +65,7 @@
"createBackupWarning": "Create backup may not work on devices with Android 9 or lower.",
"downloadingData": "Downloading Data",
"downloadingDownloadedFiles": "Downloading Downloaded files",
"failed": "Backup failed",
"drive": {
"backup": "Drive Backup",
"backupInterruped": "Drive Backup Interruped",
+1
View File
@@ -71,6 +71,7 @@ export const getString = (
options?: i18n.TranslateOptions,
) => i18n.t(stringKey, options);
// @ts-expect-error
dayjs.Ls[dayjs.locale()].calendar = {
sameDay: getString('date.calendar.sameDay'),
nextDay: getString('date.calendar.nextDay'),
+1
View File
@@ -60,6 +60,7 @@ export interface StringMap {
'backupScreen.createBackupWarning': 'string';
'backupScreen.downloadingData': 'string';
'backupScreen.downloadingDownloadedFiles': 'string';
'backupScreen.failed': 'string';
'backupScreen.drive.backup': 'string';
'backupScreen.drive.backupInterruped': 'string';
'backupScreen.drive.googleDriveBackup': 'string';