do not show the portrait stripe at fullscreen view

This commit is contained in:
tibbi 2020-01-15 20:49:44 +01:00
parent e3b921db4d
commit 9a6d1535ba
1 changed files with 3 additions and 0 deletions

View File

@ -490,6 +490,9 @@ class PhotoFragment : ViewPagerFragment() {
mView.photo_portrait_stripe.scrollBy((coverIndex - fakeItemsCnt) * itemWidth, 0) mView.photo_portrait_stripe.scrollBy((coverIndex - fakeItemsCnt) * itemWidth, 0)
adapter.setCurrentPhoto(coverIndex) adapter.setCurrentPhoto(coverIndex)
mView.photo_portrait_stripe_wrapper.beVisible() mView.photo_portrait_stripe_wrapper.beVisible()
if (mIsFullscreen) {
mView.photo_portrait_stripe_wrapper.alpha = 0f
}
} }
} }
} }