diff options
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/StartActivity.kt | 7 | ||||
-rw-r--r-- | app/src/main/res/xml/frost_changelog.xml | 9 |
2 files changed, 7 insertions, 9 deletions
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 @@ <item text="" /> --> + <version title="v2.2.1" /> + <item text="Update theme" /> + <item text="Update translations" /> + <item text="Fix misc bugs" /> + <item text="Improve startup speed" /> + <version title="v2.2.0" /> <item text="Rewrite a lot of internal logic to optimize loading" /> <item text="Change default user agent to new android version, previously a desktop user agent" /> @@ -13,9 +19,6 @@ <item text="Update theme, including like button, menu icon, and material light bugs" /> <item text="Fix login problem when one account is signed in." /> <item text="Fix some problems when exiting the image viewer" /> - <item text="" /> - <item text="" /> - <item text="" /> <version title="v2.1.2" /> <item text="Fix message notifications with just one other user" /> |