mirror of
https://github.com/SimpleMobileTools/Simple-Launcher.git
synced 2025-02-16 19:40:41 +01:00
fixing a widget resize glitch on Android 13+
This commit is contained in:
parent
5094f52d7c
commit
4e68bc93ef
@ -445,10 +445,10 @@ class HomeScreenGrid(context: Context, attrs: AttributeSet, defStyle: Int) : Rel
|
||||
widgetView.updateAppWidgetSize(Bundle(), sizes)
|
||||
} else {
|
||||
widgetView.updateAppWidgetSize(Bundle(), widgetWidth, widgetHeight, widgetWidth, widgetHeight)
|
||||
widgetView.layoutParams?.width = widgetWidth
|
||||
widgetView.layoutParams?.height = widgetHeight
|
||||
}
|
||||
|
||||
widgetView.layoutParams?.width = widgetWidth
|
||||
widgetView.layoutParams?.height = widgetHeight
|
||||
return Size(widgetWidth, widgetHeight)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user