Skip to content

Commit

Permalink
chore: marking TabDisposable as ExperimentalVoyagerApi
Browse files Browse the repository at this point in the history
  • Loading branch information
DevSrSouza committed May 7, 2023
1 parent 03136a2 commit f3f727e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import androidx.compose.runtime.CompositionLocalProvider
import androidx.compose.runtime.ProvidableCompositionLocal
import androidx.compose.runtime.remember
import androidx.compose.runtime.staticCompositionLocalOf
import cafe.adriel.voyager.core.annotation.ExperimentalVoyagerApi
import cafe.adriel.voyager.core.lifecycle.DisposableEffectIgnoringConfiguration
import cafe.adriel.voyager.navigator.Navigator
import cafe.adriel.voyager.navigator.NavigatorDisposeBehavior
Expand Down Expand Up @@ -44,6 +45,7 @@ public fun TabNavigator(
}
}

@ExperimentalVoyagerApi
@Composable
public fun TabDisposable(navigator: TabNavigator, tabs: List<Tab>) {
DisposableEffectIgnoringConfiguration(Unit) {
Expand Down

0 comments on commit f3f727e

Please sign in to comment.