Skip to content

Commit

Permalink
Merge pull request #62 from hotwired/note-default-fragment-registration
Browse files Browse the repository at this point in the history
Update HotwireNavigation.kt
  • Loading branch information
jayohms authored Oct 22, 2024
2 parents 82730c5 + 6b68515 commit 53675a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ var Hotwire.defaultFragmentDestination: KClass<out Fragment>

/**
* Register fragment destinations that can be navigated to. Every possible
* destination must be provided here.
* destination must be provided here, including one set via [defaultFragmentDestination].
*/
fun Hotwire.registerFragmentDestinations(vararg destinations: KClass<out Fragment>) {
HotwireNavigation.registeredFragmentDestinations = destinations.toList()
Expand Down

0 comments on commit 53675a2

Please sign in to comment.