From 364894ce873ab7b63d9addf744f1766d34113c92 Mon Sep 17 00:00:00 2001 From: Nickolas Date: Tue, 28 Nov 2023 21:21:40 -0800 Subject: [PATCH] routed admin to products --- .../main/java/com/example/belindas_closet/screen/AdminView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/example/belindas_closet/screen/AdminView.kt b/app/src/main/java/com/example/belindas_closet/screen/AdminView.kt index 160315a2..860ed6da 100644 --- a/app/src/main/java/com/example/belindas_closet/screen/AdminView.kt +++ b/app/src/main/java/com/example/belindas_closet/screen/AdminView.kt @@ -71,7 +71,7 @@ fun AdminView(navController: NavHostController) { } Button( onClick = { - /*TODO add navigation logic to view list of all products in db*/ + navController.navigate(Routes.Home.route) }, modifier = Modifier .padding(4.dp)