From b1faeaf654e14215a5794fb704c3294d1e1b97cb Mon Sep 17 00:00:00 2001 From: kaimanasse15 <91504156+kaimanasse15@users.noreply.github.com> Date: Mon, 27 Nov 2023 11:34:04 -0800 Subject: [PATCH 1/2] AddProductPage --- .../com/example/belindas_closet/screen/AddProduct.kt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/src/main/java/com/example/belindas_closet/screen/AddProduct.kt b/app/src/main/java/com/example/belindas_closet/screen/AddProduct.kt index 12a06849..5790dd10 100644 --- a/app/src/main/java/com/example/belindas_closet/screen/AddProduct.kt +++ b/app/src/main/java/com/example/belindas_closet/screen/AddProduct.kt @@ -10,6 +10,7 @@ import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.width import androidx.compose.material.icons.Icons import androidx.compose.material.icons.filled.ArrowBack +import androidx.compose.material.icons.filled.Menu import androidx.compose.material3.Button import androidx.compose.material3.DropdownMenu import androidx.compose.material3.DropdownMenuItem @@ -71,6 +72,7 @@ fun AddProductPage(navController: NavHostController) { */ /* Back arrow that navigates back to login page */ + TopAppBar( title = { Text("Home") }, /* todo: change destination where arrow navigates to */ navigationIcon = { @@ -81,7 +83,17 @@ fun AddProductPage(navController: NavHostController) { ) { Icon(imageVector = Icons.Default.ArrowBack, contentDescription = "Back") } + }, + actions = { + IconButton( + onClick = { + // Handle menu icon click + } + ) { + Icon(imageVector = Icons.Default.Menu, contentDescription = "Menu") + } } + ) Column( From 077e92bddd87e24dab7c16752481231ee8c9a3fb Mon Sep 17 00:00:00 2001 From: taylorpapke Date: Mon, 27 Nov 2023 11:50:56 -0800 Subject: [PATCH 2/2] leaving comment to trigger CI --- .../main/java/com/example/belindas_closet/screen/AddProduct.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/example/belindas_closet/screen/AddProduct.kt b/app/src/main/java/com/example/belindas_closet/screen/AddProduct.kt index 5790dd10..bab3ae73 100644 --- a/app/src/main/java/com/example/belindas_closet/screen/AddProduct.kt +++ b/app/src/main/java/com/example/belindas_closet/screen/AddProduct.kt @@ -72,7 +72,7 @@ fun AddProductPage(navController: NavHostController) { */ /* Back arrow that navigates back to login page */ - +//comment for CI TopAppBar( title = { Text("Home") }, /* todo: change destination where arrow navigates to */ navigationIcon = {