Fix add tag padding when there are no existing tags
This commit is contained in:
parent
f1dbb84f61
commit
24895ca612
@ -531,7 +531,7 @@ fun ReorderFavoritesGrid(viewModel: EditFavoritesSheetVM) {
|
|||||||
contentPadding = PaddingValues(
|
contentPadding = PaddingValues(
|
||||||
start = MenuDefaults.DropdownMenuItemContentPadding.calculateStartPadding(LocalLayoutDirection.current),
|
start = MenuDefaults.DropdownMenuItemContentPadding.calculateStartPadding(LocalLayoutDirection.current),
|
||||||
end = MenuDefaults.DropdownMenuItemContentPadding.calculateEndPadding(LocalLayoutDirection.current),
|
end = MenuDefaults.DropdownMenuItemContentPadding.calculateEndPadding(LocalLayoutDirection.current),
|
||||||
top = 8.dp,
|
top = if(availableTags.isNotEmpty()) 8.dp else 0.dp,
|
||||||
),
|
),
|
||||||
text = {
|
text = {
|
||||||
Box {
|
Box {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user