mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-27 12:00:03 +03:00
flattening branch to avoid empty code block
This commit is contained in:
parent
672d4e591c
commit
01ef46517e
1 changed files with 2 additions and 3 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue