Don't limit widget min size

This commit is contained in:
MM20 2022-04-02 00:10:46 +02:00
parent f1b606d8e4
commit dbd0d11a87
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -136,10 +136,7 @@ fun WidgetItem(
if (resizeMode) {
val density = LocalDensity.current
val drgStt = rememberDraggableState {
height = max(
height + (it / density.density).roundToInt(),
widget.widgetProviderInfo.minResizeHeight
)
height += (it / density.density).roundToInt()
}
Icon(
imageVector = Icons.Rounded.DragHandle,