From eb6f8f21614db5eedd443bb833884d4cd71ec52e Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 5 Jan 2019 23:00:30 -0500 Subject: Prepare next release --- app/src/main/kotlin/com/pitchedapps/frost/StartActivity.kt | 7 +------ app/src/main/res/xml/frost_changelog.xml | 9 ++++++--- 2 files changed, 7 insertions(+), 9 deletions(-) (limited to 'app/src') diff --git a/app/src/main/kotlin/com/pitchedapps/frost/StartActivity.kt b/app/src/main/kotlin/com/pitchedapps/frost/StartActivity.kt index 7622ff5c..d0376144 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/StartActivity.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/StartActivity.kt @@ -44,7 +44,6 @@ import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.launch import kotlinx.coroutines.withContext import java.util.ArrayList -import java.util.IllegalFormatException /** * Created by Allan Wang on 2017-05-28. @@ -95,11 +94,7 @@ class StartActivity : KauBaseActivity() { showInvalidView(R.string.error_webview) private fun showInvalidSdkView() { - val text = try { - String.format(string(R.string.error_sdk), Build.VERSION.SDK_INT) - } catch (e: IllegalFormatException) { - string(R.string.error_sdk) - } + val text = String.format(string(R.string.error_sdk), Build.VERSION.SDK_INT) showInvalidView(text) } diff --git a/app/src/main/res/xml/frost_changelog.xml b/app/src/main/res/xml/frost_changelog.xml index 1c5b1a88..adc888c6 100644 --- a/app/src/main/res/xml/frost_changelog.xml +++ b/app/src/main/res/xml/frost_changelog.xml @@ -6,6 +6,12 @@ --> + + + + + + @@ -13,9 +19,6 @@ - - - -- cgit v1.2.3