Skip to content

Commit

Permalink
Merge branch 'main' into feature-218-reset-password-page-01
Browse files Browse the repository at this point in the history
  • Loading branch information
tinpham5614 authored Dec 2, 2023
2 parents c9703a2 + 100d999 commit 4ccb519
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 20 deletions.
35 changes: 17 additions & 18 deletions app/src/main/java/com/example/belindas_closet/screen/AddProduct.kt
Original file line number Diff line number Diff line change
Expand Up @@ -92,27 +92,27 @@ fun AddProductPage(navController: NavHostController) {
}
}
*/

Scaffold(
modifier = Modifier
.fillMaxSize(),
topBar = {
/* Back arrow that navigates back to login page */
TopAppBar(
title = { Text("Home") }, /* todo: change destination where arrow navigates to */
navigationIcon = {
IconButton(
onClick = {
navController.navigate(Routes.Home.route) /* Navigate back to home page */
}
) {
Icon(imageVector = Icons.Default.ArrowBack, contentDescription = "Back")
}
},
actions = {
IconButton(
onClick = {
// Handle menu icon click
/* Back arrow that navigates back to login page */
TopAppBar(
title = { Text("Back") },
navigationIcon = {
IconButton(
onClick = {
navController.popBackStack();
}
) {
Icon(imageVector = Icons.Default.ArrowBack, contentDescription = "Back")
}
},
actions = {
IconButton(
onClick = {
// Handle menu icon click
}
) {
Icon(imageVector = Icons.Default.Menu, contentDescription = "Menu")
Expand All @@ -129,7 +129,6 @@ fun AddProductPage(navController: NavHostController) {
horizontalAlignment = Alignment.CenterHorizontally
) {


// uncommented out, testing ci workflow on pr
item {
ProductInfoField(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ fun ErrorDisplay(text: String) {
@Composable
fun NSCMascot() {
Image(
painter = painterResource(id = R.drawable.nsc_mascot_blue_cropped),
painter = painterResource(id = R.drawable.nsc_mascot_green_cropped),
contentDescription = stringResource(id = R.string.login_nsc_mascot)
)
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<string name="login_nsc_mascot">North Seattle College Mascot</string>

<!-- Sign Up Screen Strings -->
<string name="signup_title">Resupply</string>
<string name="signup_title">Sign Up</string>
<string name="signup_logo_description">Logo</string>
<string name="signup_first_name">First Name</string>
<string name="signup_last_name">Last Name</string>
Expand Down

0 comments on commit 4ccb519

Please sign in to comment.