mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
revert: Revert if check
This probably also check for null as "false" intially, unclear
This commit is contained in:
parent
24ce2683d4
commit
9d942aa2a6
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ class PagerViewerAdapter(private val viewer: PagerViewer) : ViewPagerAdapter() {
|
|||
)
|
||||
// Add a shifted page to the first place there isnt a full page
|
||||
(fullPageBeforeIndex until items.size).forEach {
|
||||
if (items[it]?.fullPage == false) {
|
||||
if (items[it]?.fullPage != true) {
|
||||
items[it]?.shiftedPage = true
|
||||
return@loop
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue