aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-03-01 01:33:08 -0800
committerAllan Wang <me@allanwang.ca>2020-03-01 01:33:08 -0800
commit0acf9aae5e25a80954bffba767b238e810166923 (patch)
tree8f7b30fe8187daad8ac5270b0d3174ff8342a2ce /app/src/main/kotlin/com
parentfd7a35809b360c3ca97e11a794e5f21734868d61 (diff)
downloadfrost-0acf9aae5e25a80954bffba767b238e810166923.tar.gz
frost-0acf9aae5e25a80954bffba767b238e810166923.tar.bz2
frost-0acf9aae5e25a80954bffba767b238e810166923.zip
Fade out download icon before download completes
Diffstat (limited to 'app/src/main/kotlin/com')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt2
1 files changed, 1 insertions, 1 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 f12ca7aa..f8ba32c4 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt
@@ -368,8 +368,8 @@ internal enum class FabStates(
DOWNLOAD(GoogleMaterial.Icon.gmd_file_download) {
override fun onClick(activity: ImageActivity) {
activity.launch {
- activity.saveImage()
activity.binding.download.fadeOut()
+ activity.saveImage()
}
}
},