diff --git a/src/main/kotlin/com/jetpackduba/gitnuro/ui/CommitChanges.kt b/src/main/kotlin/com/jetpackduba/gitnuro/ui/CommitChanges.kt index 810f19c..5134caa 100644 --- a/src/main/kotlin/com/jetpackduba/gitnuro/ui/CommitChanges.kt +++ b/src/main/kotlin/com/jetpackduba/gitnuro/ui/CommitChanges.kt @@ -290,7 +290,6 @@ fun CommitLogChanges( } Text( text = diffEntry.fileName, - modifier = Modifier.weight(1f, fill = false), maxLines = 1, softWrap = false, style = MaterialTheme.typography.body2, diff --git a/src/main/kotlin/com/jetpackduba/gitnuro/ui/UncommitedChanges.kt b/src/main/kotlin/com/jetpackduba/gitnuro/ui/UncommitedChanges.kt index 55f2ce9..ac941f8 100644 --- a/src/main/kotlin/com/jetpackduba/gitnuro/ui/UncommitedChanges.kt +++ b/src/main/kotlin/com/jetpackduba/gitnuro/ui/UncommitedChanges.kt @@ -560,10 +560,6 @@ private fun EntriesList( } } -@OptIn( - ExperimentalComposeUiApi::class, ExperimentalFoundationApi::class, - ExperimentalAnimationApi::class -) @Composable private fun FileEntry( statusEntry: StatusEntry, @@ -618,7 +614,6 @@ private fun FileEntry( } Text( text = statusEntry.fileName, - modifier = Modifier.weight(1f, fill = false), maxLines = 1, softWrap = false, style = MaterialTheme.typography.body2,