From 3ca39c2ef8dd06729a742de7f441edc069caf249 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Tue, 1 Jan 2019 17:30:58 -0500 Subject: Add changelog --- .../main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt | 2 +- .../kotlin/com/pitchedapps/frost/facebook/requests/Notifications.kt | 2 +- app/src/main/res/xml/frost_changelog.xml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'app') 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 { 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 @@ - - - + + + -- cgit v1.2.3