Skip to content

Commit 43fd503

Browse files
committed
Remove remaining Material 2 code in the demo
1 parent ffcb227 commit 43fd503

File tree

1 file changed

+3
-1
lines changed
  • demo/src/commonMain/kotlin/com/huanshankeji/compose/material/demo

1 file changed

+3
-1
lines changed

demo/src/commonMain/kotlin/com/huanshankeji/compose/material/demo/App.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ fun Modifier.innerContentPadding() = innerPadding(16.dp)
2828
val contentPaddingModifier = Modifier.outerContentPadding()
2929

3030
enum class Screen {
31-
Home, Common, Material2, Material3
31+
Home, Common, /*Material2,*/ Material3
3232
}
3333

3434
@Composable
@@ -50,9 +50,11 @@ fun Home(navController: NavHostController) {
5050
Button({ navController.navigate(Screen.Common.name) }) {
5151
TaglessText("Common")
5252
}
53+
/*
5354
Button({ navController.navigate(Screen.Material2.name) }) {
5455
TaglessText("Material 2")
5556
}
57+
*/
5658
Button({ navController.navigate(Screen.Material3.name) }) {
5759
TaglessText("Material 3")
5860
}

0 commit comments

Comments
 (0)