Skip to content

Commit

Permalink
🐛 fix wrong order on first fragments (#43)
Browse files Browse the repository at this point in the history
* 🐛 fix wrong order on first fragments

* 📝 update CHANGELOG
  • Loading branch information
Haransis authored Apr 2, 2024
1 parent 31da6fd commit 75e7de6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

We welcome participation and contributions from everyone (see [CONTRIBUTING.md](https://github.com/DesignandHuman/biophonie/blob/master/CONTRIBUTING.md)).

# April 2, 2024

## Bug fixes 🐞
* fix wrong order on first launch fragments

# March 8, 2024

## Features ✨ and improvements 🏁
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,10 @@ class TutorialActivity : FragmentActivity(), ViewTreeObserver.OnGlobalLayoutList
}

companion object {
private const val FIRST_PAGE = NUM_PAGES - 1
private const val SECOND_PAGE = FIRST_PAGE - 1
private const val THIRD_PAGE = SECOND_PAGE - 1
private const val FOURTH_PAGE = THIRD_PAGE - 1
private const val FIRST_PAGE = 0
private const val SECOND_PAGE = FIRST_PAGE + 1
private const val THIRD_PAGE = SECOND_PAGE + 1
private const val FOURTH_PAGE = THIRD_PAGE + 1
}
}

Expand Down

0 comments on commit 75e7de6

Please sign in to comment.