File tree Expand file tree Collapse file tree
app/src/main/java/com/theveloper/pixelplay/presentation/components/subcomps Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ import androidx.compose.material.icons.rounded.Shuffle
3939import androidx.compose.material.icons.rounded.FilterList
4040import androidx.compose.material.icons.rounded.Cloud
4141import androidx.compose.material.icons.rounded.Dataset
42+ import androidx.compose.material.icons.rounded.Home
4243import androidx.compose.material.icons.rounded.PhoneAndroid
4344import androidx.compose.material3.ButtonDefaults
4445import androidx.compose.material3.ExperimentalMaterial3Api
@@ -451,7 +452,11 @@ fun Breadcrumbs(
451452 modifier = Modifier .size(36 .dp),
452453 enabled = currentFolder != null
453454 ) {
454- Icon (Icons .AutoMirrored .Rounded .ArrowBack , contentDescription = stringResource(R .string.common_back))
455+ val icon = if (currentFolder == null ) Icons .Rounded .Home else Icons .AutoMirrored .Rounded .ArrowBack
456+ Icon (
457+ imageVector = icon,
458+ contentDescription = stringResource(if (currentFolder == null ) R .string.nav_bar_home else R .string.common_back)
459+ )
455460 }
456461 Spacer (Modifier .width(8 .dp))
457462
You can’t perform that action at this time.
0 commit comments