[ActiveAppsWidget]: Fix: use invalidatable() after button to enable the button state properly after new timeline entry has arrived

This commit is contained in:
Magesh K
2025-01-11 22:10:28 +05:30
parent 6ed5acdb40
commit d13e469cf2

View File

@@ -165,9 +165,9 @@ private struct ActiveAppsWidgetView: View
.padding(.all, -5) .padding(.all, -5)
} }
.font(.system(size: 16, weight: .semibold, design: .rounded)) .font(.system(size: 16, weight: .semibold, design: .rounded))
.activatesRefreshAllAppsIntent()
// this modifier invalidates the view (disables user interaction and shows a blinking effect) // this modifier invalidates the view (disables user interaction and shows a blinking effect)
.invalidatableContent() .invalidatableContent()
.activatesRefreshAllAppsIntent()
} }
.frame(height: rowHeight) .frame(height: rowHeight)