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:
@@ -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",
|
||||
|
||||
@@ -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'),
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user