aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-01-01 17:30:58 -0500
committerAllan Wang <me@allanwang.ca>2019-01-01 17:30:58 -0500
commit3ca39c2ef8dd06729a742de7f441edc069caf249 (patch)
treec324872bc6afc547452ba5aac735991e3fe68327
parent8245f835b6e5711b3363851ef70e156ae001bda3 (diff)
downloadfrost-3ca39c2ef8dd06729a742de7f441edc069caf249.tar.gz
frost-3ca39c2ef8dd06729a742de7f441edc069caf249.tar.bz2
frost-3ca39c2ef8dd06729a742de7f441edc069caf249.zip
Add changelog
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt2
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/facebook/requests/Notifications.kt2
-rw-r--r--app/src/main/res/xml/frost_changelog.xml6
-rw-r--r--docs/Changelog.md3
4 files changed, 8 insertions, 5 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt b/app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt
index a5b90b09..03ae9553 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt
@@ -228,7 +228,7 @@ class ImageActivity : KauBaseActivity() {
}
// Forbid overwrites
- if (file.length() > 0) {
+ if (file.isFile && file.length() > 0) {
L.i { "Forbid image overwrite" }
return@withContext false
}
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/facebook/requests/Notifications.kt b/app/src/main/kotlin/com/pitchedapps/frost/facebook/requests/Notifications.kt
index a098b6c0..bf974034 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/facebook/requests/Notifications.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/facebook/requests/Notifications.kt
@@ -35,4 +35,4 @@ fun RequestAuth.markNotificationRead(notifId: Long): FrostRequest<Boolean> {
url("${FB_URL_BASE}a/jewel_notifications_log.php")
post(body.toForm())
}
-} \ No newline at end of file
+}
diff --git a/app/src/main/res/xml/frost_changelog.xml b/app/src/main/res/xml/frost_changelog.xml
index c57ea038..1c5b1a88 100644
--- a/app/src/main/res/xml/frost_changelog.xml
+++ b/app/src/main/res/xml/frost_changelog.xml
@@ -10,9 +10,9 @@
<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" />
<item text="Add back group management page when clicking the respective notification" />
- <item text="" />
- <item text="" />
- <item text="" />
+ <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="" />
diff --git a/docs/Changelog.md b/docs/Changelog.md
index 9bb3cdb3..02d1fda8 100644
--- a/docs/Changelog.md
+++ b/docs/Changelog.md
@@ -4,6 +4,9 @@
* Rewrite a lot of internal logic to optimize loading
* Change default user agent to new android version, previously a desktop user agent
* Add back group management page when clicking the respective notification
+* Update theme, including like button, menu icon, and material light bugs
+* Fix login problem when one account is signed in.
+* Fix some problems when exiting the image viewer
## v2.1.2
* Fix message notifications with just one other user