mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Remove circle around Icon
This commit is contained in:
parent
422b986721
commit
41118ddb4c
1 changed files with 6 additions and 12 deletions
|
|
@ -66,15 +66,9 @@ struct ReminderLiveActivity: View {
|
|||
let diameter = iconDiameter
|
||||
let accent = accentColor(for: reminder)
|
||||
|
||||
return ZStack {
|
||||
Circle()
|
||||
.stroke(Color.white.opacity(0.12), lineWidth: 2)
|
||||
Circle()
|
||||
.fill(accent.opacity(0.12))
|
||||
Image(systemName: glyphName(for: reminder.event))
|
||||
return Image(systemName: glyphName(for: reminder.event))
|
||||
.font(.system(size: 16, weight: .semibold))
|
||||
.foregroundStyle(accent)
|
||||
}
|
||||
.frame(width: diameter, height: diameter)
|
||||
.frame(width: iconDiameter, height: notchContentHeight, alignment: .center)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue