Don't limit widget min size
This commit is contained in:
parent
f1b606d8e4
commit
dbd0d11a87
@ -136,10 +136,7 @@ fun WidgetItem(
|
|||||||
if (resizeMode) {
|
if (resizeMode) {
|
||||||
val density = LocalDensity.current
|
val density = LocalDensity.current
|
||||||
val drgStt = rememberDraggableState {
|
val drgStt = rememberDraggableState {
|
||||||
height = max(
|
height += (it / density.density).roundToInt()
|
||||||
height + (it / density.density).roundToInt(),
|
|
||||||
widget.widgetProviderInfo.minResizeHeight
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
Icon(
|
Icon(
|
||||||
imageVector = Icons.Rounded.DragHandle,
|
imageVector = Icons.Rounded.DragHandle,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user