From d13e469cf26457869229bcaec41a2ec2ebba8bf6 Mon Sep 17 00:00:00 2001 From: Magesh K <47920326+mahee96@users.noreply.github.com> Date: Sat, 11 Jan 2025 22:10:28 +0530 Subject: [PATCH] [ActiveAppsWidget]: Fix: use invalidatable() after button to enable the button state properly after new timeline entry has arrived --- AltWidget/Widgets/ActiveAppsWidget.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AltWidget/Widgets/ActiveAppsWidget.swift b/AltWidget/Widgets/ActiveAppsWidget.swift index 7ae561a0..9fd6dc4a 100644 --- a/AltWidget/Widgets/ActiveAppsWidget.swift +++ b/AltWidget/Widgets/ActiveAppsWidget.swift @@ -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)