mirror of
https://github.com/owenlejeune/TVTime.git
synced 2025-11-22 11:40:54 -05:00
move auth to internal webview
This commit is contained in:
@@ -446,6 +446,17 @@ class MainActivity : MonetCompatActivity() {
|
||||
)
|
||||
}
|
||||
}
|
||||
composable(
|
||||
route = MainNavItem.WebLinkView.route.plus("/{${NavConstants.WEB_LINK_KEY}}"),
|
||||
arguments = listOf(
|
||||
navArgument(NavConstants.WEB_LINK_KEY) { type = NavType.StringType }
|
||||
)
|
||||
) {
|
||||
val url = it.arguments?.getString(NavConstants.WEB_LINK_KEY)
|
||||
url?.let {
|
||||
WebLinkView(url = url, appNavController = appNavController)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user