mirror of
https://github.com/mihonapp/mihon.git
synced 2025-06-25 10:37:51 +02:00
Link to GitHub commits for preview build changelog
This commit is contained in:
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user