fix: Premium Preview Ads

This commit is contained in:
xtaodada 2022-10-23 11:41:45 +08:00
parent d9142f714f
commit 3b08403289
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -246,6 +246,7 @@ public class PremiumFeatureBottomSheet extends BottomSheet implements Notificati
bottomPages.setPageOffset(position, positionOffset);
selectedPosition = position;
toPosition = positionOffsetPixels > 0 ? selectedPosition + 1 : selectedPosition - 1;
if (toPosition < 0) toPosition = 0;
progress = positionOffset;
checkPage();
}