mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-17 02:15:17 +08:00
flattening branch to avoid empty code block
This commit is contained in:
parent
672d4e591c
commit
01ef46517e
@ -94,9 +94,8 @@ class FtueAuthSplashCarouselFragment @Inject constructor(
|
|||||||
|
|
||||||
override fun onPageSelected(position: Int) {
|
override fun onPageSelected(position: Int) {
|
||||||
scheduledTransition?.cancel()
|
scheduledTransition?.cancel()
|
||||||
if (hasUserManuallyInteractedWithCarousel) {
|
// only schedule automatic transitions whilst the user has not interacted with the carousel
|
||||||
// stop the automatic transitions
|
if (!hasUserManuallyInteractedWithCarousel) {
|
||||||
} else {
|
|
||||||
scheduledTransition = scheduleCarouselTransition()
|
scheduledTransition = scheduleCarouselTransition()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user