flattening branch to avoid empty code block

This commit is contained in:
Adam Brown 2022-01-12 09:16:46 +00:00
parent 672d4e591c
commit 01ef46517e

View file

@ -94,9 +94,8 @@ class FtueAuthSplashCarouselFragment @Inject constructor(
override fun onPageSelected(position: Int) {
scheduledTransition?.cancel()
if (hasUserManuallyInteractedWithCarousel) {
// stop the automatic transitions
} else {
// only schedule automatic transitions whilst the user has not interacted with the carousel
if (!hasUserManuallyInteractedWithCarousel) {
scheduledTransition = scheduleCarouselTransition()
}
}