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