fix(outcomes): use AutoMirrored.TrendingUp to resolve icon import/type mismatch
This commit is contained in:
parent
391ea68793
commit
ad9ba29346
|
|
@ -17,7 +17,7 @@ import androidx.compose.foundation.shape.RoundedCornerShape
|
||||||
import androidx.compose.foundation.verticalScroll
|
import androidx.compose.foundation.verticalScroll
|
||||||
import androidx.compose.material.icons.Icons
|
import androidx.compose.material.icons.Icons
|
||||||
import androidx.compose.material.icons.automirrored.filled.ArrowBack
|
import androidx.compose.material.icons.automirrored.filled.ArrowBack
|
||||||
import androidx.compose.material.icons.filled.TrendingUp
|
import androidx.compose.material.icons.automirrored.filled.TrendingUp
|
||||||
import androidx.compose.material3.Card
|
import androidx.compose.material3.Card
|
||||||
import androidx.compose.material3.CardDefaults
|
import androidx.compose.material3.CardDefaults
|
||||||
import androidx.compose.material3.CircularProgressIndicator
|
import androidx.compose.material3.CircularProgressIndicator
|
||||||
|
|
@ -146,7 +146,7 @@ private fun ProgressHeader(baseline: Outcome?) {
|
||||||
verticalAlignment = Alignment.CenterVertically
|
verticalAlignment = Alignment.CenterVertically
|
||||||
) {
|
) {
|
||||||
Icon(
|
Icon(
|
||||||
imageVector = Icons.Filled.TrendingUp,
|
imageVector = Icons.AutoMirrored.Filled.TrendingUp,
|
||||||
contentDescription = null,
|
contentDescription = null,
|
||||||
modifier = Modifier.size(40.dp),
|
modifier = Modifier.size(40.dp),
|
||||||
tint = SettingsPrimaryDeep
|
tint = SettingsPrimaryDeep
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ import androidx.compose.foundation.verticalScroll
|
||||||
import androidx.compose.material.icons.Icons
|
import androidx.compose.material.icons.Icons
|
||||||
import androidx.compose.material.icons.automirrored.filled.ArrowBack
|
import androidx.compose.material.icons.automirrored.filled.ArrowBack
|
||||||
import androidx.compose.material.icons.automirrored.filled.ArrowForwardIos
|
import androidx.compose.material.icons.automirrored.filled.ArrowForwardIos
|
||||||
import androidx.compose.material.icons.filled.TrendingUp
|
import androidx.compose.material.icons.automirrored.filled.TrendingUp
|
||||||
import androidx.compose.material.icons.filled.Done
|
import androidx.compose.material.icons.filled.Done
|
||||||
import androidx.compose.material.icons.filled.Favorite
|
import androidx.compose.material.icons.filled.Favorite
|
||||||
import androidx.compose.material.icons.filled.FavoriteBorder
|
import androidx.compose.material.icons.filled.FavoriteBorder
|
||||||
|
|
@ -412,7 +412,7 @@ fun SettingsScreen(
|
||||||
)
|
)
|
||||||
Divider(modifier = Modifier.padding(horizontal = 16.dp), thickness = 0.5.dp)
|
Divider(modifier = Modifier.padding(horizontal = 16.dp), thickness = 0.5.dp)
|
||||||
SettingsRow(
|
SettingsRow(
|
||||||
icon = Icons.Filled.TrendingUp,
|
icon = Icons.AutoMirrored.Filled.TrendingUp,
|
||||||
label = "Your Progress",
|
label = "Your Progress",
|
||||||
onClick = { onNavigate(AppRoute.YOUR_PROGRESS) }
|
onClick = { onNavigate(AppRoute.YOUR_PROGRESS) }
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue