mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-18 19:23:43 +01:00
[AltWidget] Insets ActiveAppsWidget buttons from edge to improve tapability
This commit is contained in:
@@ -106,21 +106,20 @@ private struct ActiveAppsWidgetView: View
|
|||||||
.foregroundStyle(.secondary)
|
.foregroundStyle(.secondary)
|
||||||
}
|
}
|
||||||
|
|
||||||
HStack {
|
Spacer()
|
||||||
Spacer()
|
|
||||||
|
Countdown(startDate: app.refreshedDate,
|
||||||
Countdown(startDate: app.refreshedDate,
|
endDate: app.expirationDate,
|
||||||
endDate: app.expirationDate,
|
currentDate: entry.date,
|
||||||
currentDate: entry.date,
|
strokeWidth: 3.0) // Slightly thinner circle stroke width
|
||||||
strokeWidth: 3.0) // Slightly thinner circle stroke width
|
.background {
|
||||||
.background {
|
Color.black.opacity(0.1)
|
||||||
Color.black.opacity(0.1)
|
.mask(Capsule())
|
||||||
.mask(Capsule())
|
.padding(.all, -5)
|
||||||
.padding(.all, -5)
|
|
||||||
}
|
|
||||||
.font(.system(size: 16, weight: .semibold, design: .rounded))
|
|
||||||
.invalidatableContent()
|
|
||||||
}
|
}
|
||||||
|
.font(.system(size: 16, weight: .semibold, design: .rounded))
|
||||||
|
.invalidatableContent()
|
||||||
|
.padding(.horizontal, 8)
|
||||||
.activatesRefreshAllAppsIntent()
|
.activatesRefreshAllAppsIntent()
|
||||||
}
|
}
|
||||||
.frame(height: rowHeight)
|
.frame(height: rowHeight)
|
||||||
|
|||||||
Reference in New Issue
Block a user