mirror of
https://github.com/mihonapp/mihon.git
synced 2024-12-25 02:18:24 +01:00
Link to GitHub commits for preview build changelog
This commit is contained in:
parent
87ffd6eef2
commit
1ac1c6dc9e
@ -86,13 +86,26 @@ class AboutController : SettingsController() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
preference {
|
preference {
|
||||||
titleRes = R.string.build_time
|
titleRes = R.string.changelog
|
||||||
summary = getFormattedBuildTime()
|
|
||||||
|
onClick {
|
||||||
|
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 {
|
onClick {
|
||||||
ChangelogDialogController().showDialog(router)
|
ChangelogDialogController().showDialog(router)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
preferenceCategory {
|
preferenceCategory {
|
||||||
preference {
|
preference {
|
||||||
|
@ -355,8 +355,8 @@
|
|||||||
<string name="website">Website</string>
|
<string name="website">Website</string>
|
||||||
<string name="version">Version</string>
|
<string name="version">Version</string>
|
||||||
<string name="build_time">Build time</string>
|
<string name="build_time">Build time</string>
|
||||||
<string name="notices">Notices</string>
|
|
||||||
<string name="changelog">Changelog</string>
|
<string name="changelog">Changelog</string>
|
||||||
|
<string name="notices">Preview build notices</string>
|
||||||
<string name="licenses">Open source licenses</string>
|
<string name="licenses">Open source licenses</string>
|
||||||
<string name="pref_enable_automatic_updates">Check for updates</string>
|
<string name="pref_enable_automatic_updates">Check for updates</string>
|
||||||
<string name="pref_enable_automatic_updates_summary">Automatically check for new app versions</string>
|
<string name="pref_enable_automatic_updates_summary">Automatically check for new app versions</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user