Skip to content

Commit

Permalink
Fix deprecated icon usage
Browse files Browse the repository at this point in the history
  • Loading branch information
bentrengrove committed Jan 24, 2024
1 parent 6cfa3bc commit c0f40a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
}
}
}
Expand Down

0 comments on commit c0f40a5

Please sign in to comment.