diff options
author | Allan Wang <me@allanwang.ca> | 2019-06-07 12:48:07 -0400 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-06-07 12:48:07 -0400 |
commit | 013f08f9061ad0dea803e5e63f24480a138a05b2 (patch) | |
tree | 9680a5a2dc372a11ca62ac92584a66bd7e309cca /sample/src/main/kotlin/ca/allanwang | |
parent | d377eca31a9c9623c525f181a32c588a31dc5737 (diff) | |
download | kau-013f08f9061ad0dea803e5e63f24480a138a05b2.tar.gz kau-013f08f9061ad0dea803e5e63f24480a138a05b2.tar.bz2 kau-013f08f9061ad0dea803e5e63f24480a138a05b2.zip |
Clean up changelog config
Diffstat (limited to 'sample/src/main/kotlin/ca/allanwang')
-rw-r--r-- | sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt index d9586c4..2c3bf23 100644 --- a/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt +++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt @@ -260,12 +260,7 @@ class MainActivity : KPrefActivity() { if (KPrefSample.version < BuildConfig.VERSION_CODE) { KPrefSample.version = BuildConfig.VERSION_CODE if (!BuildConfig.DEBUG) - showChangelog(R.xml.kau_changelog, KPrefSample.textColor) { - // TODO MD Color -// titleColor(KPrefSample.textColor) -// backgroundColor(KPrefSample.bgColor) -// positiveColor(KPrefSample.accentColor) - } + showChangelog(R.xml.kau_changelog, KPrefSample.textColor) } supportActionBar?.apply { setDisplayHomeAsUpEnabled(false) @@ -298,12 +293,7 @@ class MainActivity : KPrefActivity() { override fun onOptionsItemSelected(item: MenuItem): Boolean { when (item.itemId) { - R.id.action_changelog -> showChangelog(R.xml.kau_changelog, KPrefSample.textColor) { - // TODO MD Color -// titleColor(KPrefSample.textColor) -// backgroundColor(KPrefSample.bgColor) -// positiveColor(KPrefSample.accentColor) - } + R.id.action_changelog -> showChangelog(R.xml.kau_changelog, KPrefSample.textColor) R.id.action_settings -> startActivity<AnimActivity>() R.id.action_email -> sendEmail(R.string.your_email, R.string.your_subject) else -> return super.onOptionsItemSelected(item) |