fix padding on the eventlistView extract settings to Settings.swift rename some files

This commit is contained in:
neon443 committed 2025-05-21 20:38:54 +01:00
1 parent 62318c5ddc
commit b153d127a6
6 files changed
+179 -159

No files matched your search

@@ -16,7 +16,6 @@ struct ContentView: View {
ForEach(viewModel.events) { event in
EventListView(viewModel: viewModel, event: event)
}
.padding(.trailing)
}
.scrollContentBackground(.hidden)
}
@@ -69,6 +69,7 @@ struct EventListView: View {
Spacer()
VStack {
Text("\(daysUntilEvent(event.date).long)")
.multilineTextAlignment(.trailing)
.foregroundStyle(event.date.timeIntervalSinceNow < 0 ? .red : .one)
}
Button() {
@@ -110,7 +111,7 @@ struct EventListView: View {
.scaleEffect(largeTick ? 1.5 : 1)
.frame(maxWidth: 20)
.shadow(radius: 5)
.padding(.trailing, 5)
.padding(.trailing, 15)
.animation(
.spring(response: 0.2, dampingFraction: 0.75, blendDuration: 2),
value: largeTick
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.