refactor: notifications and settings view models; enhance login and registration UI

This commit is contained in:
2026-03-15 21:40:20 +07:00
parent 0947c048c1
commit 37b87ececd
45 changed files with 985 additions and 680 deletions
+20
View File
@@ -0,0 +1,20 @@
import SwiftUI
struct AppBackgroundModifier: ViewModifier {
func body(content: Content) -> some View {
content.background(
LinearGradient(
colors: [Color(.systemGroupedBackground), Color.red.opacity(0.08)],
startPoint: .top,
endPoint: .bottom
)
.ignoresSafeArea()
)
}
}
extension View {
func appBackground() -> some View {
modifier(AppBackgroundModifier())
}
}