diff options
author | Allan Wang <me@allanwang.ca> | 2019-06-07 13:11:45 -0400 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-06-07 13:11:45 -0400 |
commit | 77be91c57b36ae85b6be34d3db864fcd63661018 (patch) | |
tree | ed5a31772d4c59f072f51afde12ae91d71b877dc /sample/src/main/kotlin/ca | |
parent | e3a8afc8ec7e99899303de5dc715a1c4ef8fb675 (diff) | |
download | kau-77be91c57b36ae85b6be34d3db864fcd63661018.tar.gz kau-77be91c57b36ae85b6be34d3db864fcd63661018.tar.bz2 kau-77be91c57b36ae85b6be34d3db864fcd63661018.zip |
Add deprecation annotations for network utils
Diffstat (limited to 'sample/src/main/kotlin/ca')
-rw-r--r-- | sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt | 4 |
1 files changed, 2 insertions, 2 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 2c3bf23..9ce3f42 100644 --- a/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt +++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt @@ -260,7 +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) + showChangelog(R.xml.kau_changelog) } supportActionBar?.apply { setDisplayHomeAsUpEnabled(false) @@ -293,7 +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) + R.id.action_changelog -> showChangelog(R.xml.kau_changelog) R.id.action_settings -> startActivity<AnimActivity>() R.id.action_email -> sendEmail(R.string.your_email, R.string.your_subject) else -> return super.onOptionsItemSelected(item) |