aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-01-05 23:00:30 -0500
committerAllan Wang <me@allanwang.ca>2019-01-05 23:00:30 -0500
commiteb6f8f21614db5eedd443bb833884d4cd71ec52e (patch)
treeaca585a0b7c80ec8599fc4d504d040817e6ad470
parent52e140256f466c35cc040d1fa0c76892dfe64084 (diff)
downloadfrost-eb6f8f21614db5eedd443bb833884d4cd71ec52e.tar.gz
frost-eb6f8f21614db5eedd443bb833884d4cd71ec52e.tar.bz2
frost-eb6f8f21614db5eedd443bb833884d4cd71ec52e.zip
Prepare next releasev2.2.1
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/StartActivity.kt7
-rw-r--r--app/src/main/res/xml/frost_changelog.xml9
-rw-r--r--docs/Changelog.md6
-rw-r--r--gradle.properties2
4 files changed, 14 insertions, 10 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" />
diff --git a/docs/Changelog.md b/docs/Changelog.md
index 02d1fda8..5615a810 100644
--- a/docs/Changelog.md
+++ b/docs/Changelog.md
@@ -1,5 +1,11 @@
# Changelog
+## v2.2.1
+* Update theme
+* Update translations
+* Fix misc bugs
+* Improve startup speed
+
## v2.2.0
* Rewrite a lot of internal logic to optimize loading
* Change default user agent to new android version, previously a desktop user agent
diff --git a/gradle.properties b/gradle.properties
index aabfd255..f95fed2b 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -14,7 +14,7 @@ org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryErro
APP_ID=Frost
APP_GROUP=com.pitchedapps
-KAU=72d6461
+KAU=4.0.0-alpha02
KOTLIN=1.3.11
# https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google