diff --git a/NavigationCodelab/app/src/main/java/com/example/compose/rally/ui/overview/OverviewScreen.kt b/NavigationCodelab/app/src/main/java/com/example/compose/rally/ui/overview/OverviewScreen.kt index 207aec192..4c02ce01f 100644 --- a/NavigationCodelab/app/src/main/java/com/example/compose/rally/ui/overview/OverviewScreen.kt +++ b/NavigationCodelab/app/src/main/java/com/example/compose/rally/ui/overview/OverviewScreen.kt @@ -35,7 +35,7 @@ import androidx.compose.material.MaterialTheme import androidx.compose.material.Text import androidx.compose.material.TextButton import androidx.compose.material.icons.Icons -import androidx.compose.material.icons.filled.Sort +import androidx.compose.material.icons.automirrored.filled.Sort import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf @@ -162,7 +162,7 @@ private fun AlertItem(message: String) { .align(Alignment.Top) .clearAndSetSemantics {} ) { - Icon(Icons.Filled.Sort, contentDescription = null) + Icon(Icons.AutoMirrored.Filled.Sort, contentDescription = null) } } } diff --git a/TestingCodelab/app/src/main/java/com/example/compose/rally/ui/overview/OverviewBody.kt b/TestingCodelab/app/src/main/java/com/example/compose/rally/ui/overview/OverviewBody.kt index f1bbc9df2..ccf3cdc02 100644 --- a/TestingCodelab/app/src/main/java/com/example/compose/rally/ui/overview/OverviewBody.kt +++ b/TestingCodelab/app/src/main/java/com/example/compose/rally/ui/overview/OverviewBody.kt @@ -36,7 +36,7 @@ import androidx.compose.material.MaterialTheme import androidx.compose.material.Text import androidx.compose.material.TextButton import androidx.compose.material.icons.Icons -import androidx.compose.material.icons.filled.Sort +import androidx.compose.material.icons.automirrored.filled.Sort import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedEffect import androidx.compose.runtime.getValue @@ -181,7 +181,7 @@ private fun AlertItem(message: String) { .align(Alignment.Top) .clearAndSetSemantics {} ) { - Icon(Icons.Filled.Sort, contentDescription = null) + Icon(Icons.AutoMirrored.Filled.Sort, contentDescription = null) } } }