move auth to internal webview

This commit is contained in:
Owen LeJeune
2023-06-02 17:24:12 -04:00
parent 20390b0d50
commit fbc1719523
8 changed files with 148 additions and 32 deletions

View File

@@ -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)
}
}
}
}