fix(outcomes): use AutoMirrored.TrendingUp to resolve icon import/type mismatch

This commit is contained in:
null 2026-06-21 00:07:52 -05:00
parent b70463274f
commit a5aad4f0bf
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.foundation.verticalScroll
import androidx.compose.material.icons.Icons
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.CardDefaults
import androidx.compose.material3.CircularProgressIndicator
@ -146,7 +146,7 @@ private fun ProgressHeader(baseline: Outcome?) {
verticalAlignment = Alignment.CenterVertically
) {
Icon(
imageVector = Icons.Filled.TrendingUp,
imageVector = Icons.AutoMirrored.Filled.TrendingUp,
contentDescription = null,
modifier = Modifier.size(40.dp),
tint = SettingsPrimaryDeep

View File

@ -20,7 +20,7 @@ import androidx.compose.foundation.verticalScroll
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.automirrored.filled.ArrowBack
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.Favorite
import androidx.compose.material.icons.filled.FavoriteBorder
@ -412,7 +412,7 @@ fun SettingsScreen(
)
Divider(modifier = Modifier.padding(horizontal = 16.dp), thickness = 0.5.dp)
SettingsRow(
icon = Icons.Filled.TrendingUp,
icon = Icons.AutoMirrored.Filled.TrendingUp,
label = "Your Progress",
onClick = { onNavigate(AppRoute.YOUR_PROGRESS) }
)