In transactions screen, scroll from one screen to another sees the current screen rendered as both the current and the next screen one is scrolling to
Fix
HorizontalPager passes an index in the pagerScope callback. Use the index instead of the pagerState.currentPage in tabRowItems[pagerState.currentPage].screen() to determine the screen to be rendered in each page
In package com.ryankoech.krypto.feature_transaction.presentation.transaction
In transactions screen, scroll from one screen to another sees the current screen rendered as both the current and the next screen one is scrolling to
Fix
HorizontalPagerpasses anindexin the pagerScope callback. Use theindexinstead of thepagerState.currentPageintabRowItems[pagerState.currentPage].screen()to determine the screen to be rendered in each pageIn
package com.ryankoech.krypto.feature_transaction.presentation.transaction