pull/981/head
gedoor 4 years ago
parent b6565c8cb9
commit c0634eb5cf
  1. 10
      app/src/main/java/io/legado/app/ui/book/cache/CacheActivity.kt
  2. 1
      app/src/main/res/values-zh-rHK/strings.xml
  3. 1
      app/src/main/res/values-zh-rTW/strings.xml
  4. 1
      app/src/main/res/values-zh/strings.xml
  5. 1
      app/src/main/res/values/strings.xml

@ -256,18 +256,16 @@ class CacheActivity : VMBaseActivity<ActivityCacheBookBinding, CacheViewModel>()
when (AppConfig.exportType) { when (AppConfig.exportType) {
1 -> viewModel.exportEPUB(path, book) { 1 -> viewModel.exportEPUB(path, book) {
exportSize-- exportSize--
if (exportSize <= 0) {
binding.titleBar.snackbar(it)
} else {
toastOnUi(it) toastOnUi(it)
if (exportSize <= 0) {
binding.titleBar.snackbar(R.string.complete)
} }
} }
else -> viewModel.export(path, book) { else -> viewModel.export(path, book) {
exportSize-- exportSize--
if (exportSize <= 0) {
binding.titleBar.snackbar(it)
} else {
toastOnUi(it) toastOnUi(it)
if (exportSize <= 0) {
binding.titleBar.snackbar(R.string.complete)
} }
} }
} }

@ -823,5 +823,6 @@
<string name="high_brush_title">高刷</string> <string name="high_brush_title">高刷</string>
<string name="high_brush_summary">使用屏幕最高刷新率</string> <string name="high_brush_summary">使用屏幕最高刷新率</string>
<string name="export_all">导出所有</string> <string name="export_all">导出所有</string>
<string name="complete">完成</string>
</resources> </resources>

@ -827,5 +827,6 @@
<string name="high_brush_title">高刷</string> <string name="high_brush_title">高刷</string>
<string name="high_brush_summary">使用螢幕最高刷新率</string> <string name="high_brush_summary">使用螢幕最高刷新率</string>
<string name="export_all">导出所有</string> <string name="export_all">导出所有</string>
<string name="complete">完成</string>
</resources> </resources>

@ -827,5 +827,6 @@
<string name="high_brush_title">高刷</string> <string name="high_brush_title">高刷</string>
<string name="high_brush_summary">使用屏幕最高刷新率</string> <string name="high_brush_summary">使用屏幕最高刷新率</string>
<string name="export_all">导出所有</string> <string name="export_all">导出所有</string>
<string name="complete">完成</string>
</resources> </resources>

@ -828,5 +828,6 @@
<string name="high_brush_title">高刷</string> <string name="high_brush_title">高刷</string>
<string name="high_brush_summary">使用屏幕最高刷新率</string> <string name="high_brush_summary">使用屏幕最高刷新率</string>
<string name="export_all">export_all</string> <string name="export_all">export_all</string>
<string name="complete">complete</string>
</resources> </resources>

Loading…
Cancel
Save