aboutsummaryrefslogtreecommitdiff
path: root/taler-kotlin-common/src
diff options
context:
space:
mode:
Diffstat (limited to 'taler-kotlin-common/src')
-rw-r--r--taler-kotlin-common/src/main/java/net/taler/common/AndroidUtils.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/taler-kotlin-common/src/main/java/net/taler/common/AndroidUtils.kt b/taler-kotlin-common/src/main/java/net/taler/common/AndroidUtils.kt
index 3ab45ad..fda537b 100644
--- a/taler-kotlin-common/src/main/java/net/taler/common/AndroidUtils.kt
+++ b/taler-kotlin-common/src/main/java/net/taler/common/AndroidUtils.kt
@@ -43,7 +43,7 @@ import androidx.navigation.NavDirections
import androidx.navigation.fragment.findNavController
fun View.fadeIn(endAction: () -> Unit = {}) {
- if (visibility == VISIBLE) return
+ if (visibility == VISIBLE && alpha == 1f) return
alpha = 0f
visibility = VISIBLE
animate().alpha(1f).withEndAction {