Skip to content

Commit

Permalink
LS Widgets: Fix widget state resetting on locking device
Browse files Browse the repository at this point in the history
Signed-off-by: DrDisagree <[email protected]>
  • Loading branch information
Mahmud0808 committed Mar 4, 2025
1 parent ef428b8 commit 318792c
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -551,13 +551,13 @@ class LockscreenWidgetsA15(context: Context) : ModPack(context) {
if (widgetView.parent != mWidgetsContainer) {
(mWidgetsContainer.parent as? ViewGroup)?.removeView(widgetView)
mWidgetsContainer.addView(widgetView)
}

updateLockscreenWidgets()
updateLsDeviceWidget()
updateLockscreenWidgetsColors()
updateMargins()
updateLockscreenWidgetsScale()
updateLockscreenWidgets()
updateLsDeviceWidget()
updateLockscreenWidgetsColors()
updateMargins()
updateLockscreenWidgetsScale()
}
}

@SuppressLint("DiscouragedApi")
Expand Down

0 comments on commit 318792c

Please sign in to comment.