mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	This reverts commit 974275a429.
			
			
This commit is contained in:
		@@ -31,12 +31,11 @@ class OneWayFadeChangeHandler : FadeChangeHandler {
 | 
			
		||||
        if (to != null) {
 | 
			
		||||
            val start: Float = if (toAddedToContainer) 0F else to.alpha
 | 
			
		||||
            animator.play(ObjectAnimator.ofFloat(to, View.ALPHA, start, 1f))
 | 
			
		||||
        } else {
 | 
			
		||||
            if (from != null && (!isPush || removesFromViewOnPush())) {
 | 
			
		||||
                container.removeView(from)
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (from != null && (!isPush || removesFromViewOnPush())) {
 | 
			
		||||
            container.removeView(from)
 | 
			
		||||
        }
 | 
			
		||||
        return animator
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user