fix(i18n): update string formatting for download messages and theme management in English and Chinese

This commit is contained in:
dat-bi authored and Kudomaga committed 2026-05-22 01:56:08 +08:00
1 parent 7107b35728
commit c7bf1db161
4 files changed
+25 -11

No files matched your search

@@ -53,7 +53,7 @@ class BookInfoEditViewModel(application: Application) : BaseViewModel(applicatio
execute {
book = appDb.bookDao.getBook(bookUrl)
book?.let {
val selectedTypeIndex = when {
val selectedType = when {
it.isImage -> BookInfoEditType.IMAGE
it.isAudio -> BookInfoEditType.AUDIO
else -> BookInfoEditType.TEXT
@@ -68,7 +68,7 @@ class BookInfoEditViewModel(application: Application) : BaseViewModel(applicatio
remark = it.remark,
kindList = kinds,
originalKindList = kinds,
selectedType = selectedTypeIndex,
selectedType = selectedType,
fixedType = it.config.fixedType,
book = it
)