diff options
author | Allan Wang <me@allanwang.ca> | 2019-01-01 17:30:58 -0500 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-01-01 17:30:58 -0500 |
commit | 3ca39c2ef8dd06729a742de7f441edc069caf249 (patch) | |
tree | c324872bc6afc547452ba5aac735991e3fe68327 /app/src/main/kotlin/com/pitchedapps | |
parent | 8245f835b6e5711b3363851ef70e156ae001bda3 (diff) | |
download | frost-3ca39c2ef8dd06729a742de7f441edc069caf249.tar.gz frost-3ca39c2ef8dd06729a742de7f441edc069caf249.tar.bz2 frost-3ca39c2ef8dd06729a742de7f441edc069caf249.zip |
Add changelog
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt | 2 | ||||
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/facebook/requests/Notifications.kt | 2 |
2 files changed, 2 insertions, 2 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 +} |