diff --git a/app/src/main/java/io/legado/app/ui/main/MainActivity.kt b/app/src/main/java/io/legado/app/ui/main/MainActivity.kt index 2be242fd6..b75046589 100644 --- a/app/src/main/java/io/legado/app/ui/main/MainActivity.kt +++ b/app/src/main/java/io/legado/app/ui/main/MainActivity.kt @@ -147,8 +147,10 @@ class MainActivity : VMBaseActivity(), if (LocalConfig.versionCode != appInfo.versionCode) { LocalConfig.versionCode = appInfo.versionCode if (LocalConfig.isFirstOpenApp) { - val text = String(assets.open("help/appHelp.md").readBytes()) - showDialogFragment(TextDialog(text, TextDialog.Mode.MD)) + val help = String(assets.open("help/appHelp.md").readBytes()) + showDialogFragment(TextDialog(help, TextDialog.Mode.MD)) + val privacyPolicy = String(assets.open("privacyPolicy.md").readBytes()) + showDialogFragment(TextDialog(privacyPolicy, TextDialog.Mode.MD)) } else if (!BuildConfig.DEBUG) { val log = String(assets.open("updateLog.md").readBytes()) showDialogFragment(TextDialog(log, TextDialog.Mode.MD))