Skip to content

Commit

Permalink
belindas-android_03_194_navigation-update-pages_02 (#202)
Browse files Browse the repository at this point in the history
* Adding menu icon to Update.kt and IndividualProductUpdate.kt

* Adding menu icon to Update.kt and IndividualProductUpdate.kt
  • Loading branch information
Annelisebx authored Nov 28, 2023
1 parent d1f0193 commit 6c168df
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import androidx.compose.material.icons.filled.Check
import androidx.compose.material.icons.filled.Close
import androidx.compose.material.icons.filled.Delete
import androidx.compose.material.icons.filled.Edit
import androidx.compose.material.icons.filled.Menu
import androidx.compose.material3.Button
import androidx.compose.material3.Card
import androidx.compose.material3.DropdownMenu
Expand Down Expand Up @@ -82,6 +83,14 @@ fun IndividualProductUpdatePage(navController: NavController, productId: String)
contentDescription = "Back to Home page"
)
}
},
actions = {
IconButton(
onClick = {
}
) {
Icon(imageVector = Icons.Default.Menu, contentDescription = "Menu")
}
}
)
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import androidx.compose.foundation.lazy.items
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Add
import androidx.compose.material.icons.filled.ArrowBack
import androidx.compose.material.icons.filled.Menu
import androidx.compose.material.icons.filled.Check
import androidx.compose.material.icons.filled.Close
import androidx.compose.material.icons.filled.Delete
Expand Down Expand Up @@ -77,6 +78,14 @@ fun UpdatePage(navController: NavController) {
}) {
Icon(imageVector = Icons.Default.ArrowBack, contentDescription = "Back to Product Detail")
}
},
actions = {
IconButton(
onClick = {
}
) {
Icon(imageVector = Icons.Default.Menu, contentDescription = "Menu")
}
})
},
floatingActionButtonPosition = FabPosition.End,
Expand Down

0 comments on commit 6c168df

Please sign in to comment.