Fix menu seach bar end padding

pull/2922/head
Alex Baker 3 months ago
parent 36a28b6210
commit ab0f123c8a

@ -101,7 +101,7 @@ fun TaskListDrawer(
SearchBar( SearchBar(
modifier = Modifier modifier = Modifier
.onFocusChanged { hasFocus = it.hasFocus } .onFocusChanged { hasFocus = it.hasFocus }
.padding(start = 8.dp, bottom = 4.dp) .padding(start = 8.dp, end = if (hasFocus) 8.dp else 0.dp, bottom = 4.dp)
.weight(1f) .weight(1f)
.animateContentSize( .animateContentSize(
animationSpec = spring( animationSpec = spring(

Loading…
Cancel
Save