Fixed multiline text field in rebase interactive
This commit is contained in:
parent
d934b83c4e
commit
f2412616af
@ -139,7 +139,7 @@ fun RebaseCommit(
|
||||
AdjustableOutlinedTextField(
|
||||
modifier = Modifier
|
||||
.weight(1f)
|
||||
.height(40.dp),
|
||||
.heightIn(min = 40.dp),
|
||||
enabled = rebaseLine.action == Action.REWORD,
|
||||
value = newMessage,
|
||||
onValueChange = {
|
||||
@ -147,6 +147,10 @@ fun RebaseCommit(
|
||||
onMessageChanged(it)
|
||||
},
|
||||
textStyle = MaterialTheme.typography.body2,
|
||||
backgroundColor = if(rebaseLine.action == Action.REWORD) {
|
||||
MaterialTheme.colors.background
|
||||
} else
|
||||
MaterialTheme.colors.surface
|
||||
)
|
||||
|
||||
}
|
||||
|
@ -57,7 +57,6 @@ fun AdjustableOutlinedTextField(
|
||||
Box(
|
||||
modifier = modifier
|
||||
.height(IntrinsicSize.Min)
|
||||
.background(Color.Red)
|
||||
) {
|
||||
BasicTextField(
|
||||
modifier = Modifier
|
||||
|
Loading…
Reference in New Issue
Block a user