pull/1259/head
gedoor 3 years ago
parent 68af8ee10a
commit 9ae1a41460
  1. 2
      app/src/main/java/io/legado/app/ui/main/MainActivity.kt

@ -122,7 +122,7 @@ class MainActivity : VMBaseActivity<ActivityMainBinding, MainViewModel>(),
TextDialog.show(supportFragmentManager, text, TextDialog.MD) TextDialog.show(supportFragmentManager, text, TextDialog.MD)
} else if (!BuildConfig.DEBUG) { } else if (!BuildConfig.DEBUG) {
val log = String(assets.open("updateLog.md").readBytes()) val log = String(assets.open("updateLog.md").readBytes())
TextDialog.show(supportFragmentManager, log, TextDialog.MD, 5000, true) TextDialog.show(supportFragmentManager, log, TextDialog.MD)
} }
viewModel.upVersion() viewModel.upVersion()
} }

Loading…
Cancel
Save