diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt
index 2600cc90a6..97e4c5f722 100644
--- a/app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt
+++ b/app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt
@@ -86,11 +86,24 @@ class AboutController : SettingsController() {
}
}
preference {
- titleRes = R.string.build_time
- summary = getFormattedBuildTime()
+ titleRes = R.string.changelog
onClick {
- ChangelogDialogController().showDialog(router)
+ if (BuildConfig.DEBUG) {
+ val intent = Intent(Intent.ACTION_VIEW, Uri.parse("https://github.com/inorichi/tachiyomi/commits/master"))
+ startActivity(intent)
+ } else {
+ ChangelogDialogController().showDialog(router)
+ }
+ }
+ }
+ if (BuildConfig.DEBUG) {
+ preference {
+ titleRes = R.string.notices
+
+ onClick {
+ ChangelogDialogController().showDialog(router)
+ }
}
}
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 3023b8c458..c38e4416eb 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -355,8 +355,8 @@
Website
Version
Build time
- Notices
Changelog
+ Preview build notices
Open source licenses
Check for updates
Automatically check for new app versions