Skip to content

Commit

Permalink
Added goBack() function to ComposeStackNavigator
Browse files Browse the repository at this point in the history
  • Loading branch information
chRyNaN committed Jan 1, 2022
1 parent 04cb5cb commit 3ea4d23
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,24 +63,22 @@ interface ComposeStackNavigator<T> : ComposeNavigator<T> {

fun canGoBack(): Boolean

fun goBack(): Boolean

companion object
}

@ExperimentalNavigationApi
interface ComposeStackNavigatorByContent<T> : ComposeStackNavigator<T>,
ComposeNavigatorByContent<T> {

fun goBack(): Boolean

companion object
}

@ExperimentalNavigationApi
interface ComposeStackNavigatorByKey<T> : ComposeStackNavigator<T>,
ComposeNavigatorByKey<T> {

fun goBack(): Boolean

companion object
}

Expand Down

0 comments on commit 3ea4d23

Please sign in to comment.