Build time now opens changelog

(cherry picked from commit 22bb346359)
This commit is contained in:
Jay 2020-01-15 01:14:17 -08:00 committed by arkon
parent b74fb2ef5e
commit d1db9fb659

View File

@ -14,6 +14,7 @@ import eu.kanade.tachiyomi.data.updater.UpdateResult
import eu.kanade.tachiyomi.data.updater.UpdaterJob
import eu.kanade.tachiyomi.data.updater.UpdaterService
import eu.kanade.tachiyomi.ui.base.controller.DialogController
import eu.kanade.tachiyomi.ui.main.ChangelogDialogController
import eu.kanade.tachiyomi.util.toast
import rx.Subscription
import rx.android.schedulers.AndroidSchedulers
@ -101,6 +102,10 @@ class SettingsAboutController : SettingsController() {
preference {
titleRes = R.string.build_time
summary = getFormattedBuildTime()
onClick {
ChangelogDialogController().showDialog(router)
}
}
}