mirror of
				https://github.com/oxen-io/session-android.git
				synced 2025-10-31 07:21:41 +00:00 
			
		
		
		
	Remove easing on progress animation
This commit is contained in:
		| @@ -1,6 +1,7 @@ | |||||||
| package org.thoughtcrime.securesms.onboarding.loading | package org.thoughtcrime.securesms.onboarding.loading | ||||||
|  |  | ||||||
| import androidx.compose.animation.core.Animatable | import androidx.compose.animation.core.Animatable | ||||||
|  | import androidx.compose.animation.core.LinearEasing | ||||||
| import androidx.compose.animation.core.TweenSpec | import androidx.compose.animation.core.TweenSpec | ||||||
| import androidx.compose.foundation.layout.Column | import androidx.compose.foundation.layout.Column | ||||||
| import androidx.compose.foundation.layout.Spacer | import androidx.compose.foundation.layout.Spacer | ||||||
| @@ -27,7 +28,10 @@ internal fun LoadingScreen(state: State) { | |||||||
|         animatable.stop() |         animatable.stop() | ||||||
|         animatable.animateTo( |         animatable.animateTo( | ||||||
|             targetValue = 1f, |             targetValue = 1f, | ||||||
|             animationSpec = TweenSpec(durationMillis = state.duration.inWholeMilliseconds.toInt()) |             animationSpec = TweenSpec( | ||||||
|  |                 durationMillis = state.duration.inWholeMilliseconds.toInt(), | ||||||
|  |                 easing = LinearEasing | ||||||
|  |             ) | ||||||
|         ) |         ) | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 bemusementpark
					bemusementpark