diff options
author | Allan Wang <me@allanwang.ca> | 2020-03-01 01:33:08 -0800 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2020-03-01 01:33:08 -0800 |
commit | 0acf9aae5e25a80954bffba767b238e810166923 (patch) | |
tree | 8f7b30fe8187daad8ac5270b0d3174ff8342a2ce /app/src/main/kotlin/com/pitchedapps | |
parent | fd7a35809b360c3ca97e11a794e5f21734868d61 (diff) | |
download | frost-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/pitchedapps')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt | 2 |
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() } } }, |