[AltWidget] Insets ActiveAppsWidget buttons from edge to improve tapability

This commit is contained in:
Riley Testut
2023-09-11 11:54:10 -05:00
parent 97e52c623e
commit 3f78a9f561

View File

@@ -106,7 +106,6 @@ private struct ActiveAppsWidgetView: View
.foregroundStyle(.secondary) .foregroundStyle(.secondary)
} }
HStack {
Spacer() Spacer()
Countdown(startDate: app.refreshedDate, Countdown(startDate: app.refreshedDate,
@@ -120,7 +119,7 @@ private struct ActiveAppsWidgetView: View
} }
.font(.system(size: 16, weight: .semibold, design: .rounded)) .font(.system(size: 16, weight: .semibold, design: .rounded))
.invalidatableContent() .invalidatableContent()
} .padding(.horizontal, 8)
.activatesRefreshAllAppsIntent() .activatesRefreshAllAppsIntent()
} }
.frame(height: rowHeight) .frame(height: rowHeight)