@@ -34,7 +34,6 @@ import androidx.compose.ui.draw.clip
3434import androidx.compose.ui.platform.LocalContext
3535import androidx.compose.ui.res.painterResource
3636import androidx.compose.ui.res.stringResource
37- import androidx.compose.ui.text.AnnotatedString
3837import androidx.compose.ui.unit.dp
3938import androidx.compose.ui.unit.sp
4039import androidx.lifecycle.Lifecycle
@@ -47,7 +46,7 @@ import com.w2sv.filenavigator.ui.LocalMoveDestinationPathConverter
4746import com.w2sv.filenavigator.ui.designsystem.WeightedBox
4847import com.w2sv.filenavigator.ui.modelext.color
4948import com.w2sv.filenavigator.ui.modelext.exists
50- import eu.wewox.textflow.TextFlow
49+ import eu.wewox.textflow.material3. TextFlow
5150import kotlinx.collections.immutable.ImmutableList
5251import kotlinx.coroutines.CoroutineScope
5352import kotlinx.coroutines.launch
@@ -159,10 +158,7 @@ private fun MoveRecordView(
159158private fun FileNameWithTypeAndSourceIcon (moveEntry : MovedFile , modifier : Modifier = Modifier ) {
160159 Box (modifier = modifier) {
161160 TextFlow (
162- text = remember(moveEntry.name) {
163- AnnotatedString (moveEntry.name)
164- },
165- style = LocalTextStyle .current.copy(color = LocalContentColor .current),
161+ text = moveEntry.name,
166162 fontSize = MoveHistoryDefaults .FontSize ,
167163 ) {
168164 // Placeholder that determines the obstacle size
0 commit comments