@@ -10,6 +10,7 @@ import SwiftUI
|
||||
|
||||
struct SwitchableView: View {
|
||||
@State var currentViewIdx = 0
|
||||
@AppStorage(UserDefaultsStore.Keys.theme.rawValue, store: GroupUserDefaults.groupDefaults) private var theme: Theme = .system
|
||||
|
||||
let daysBack: Int
|
||||
|
||||
@@ -47,7 +48,7 @@ struct SwitchableView: View {
|
||||
.padding(.top, -12)
|
||||
}
|
||||
.background(
|
||||
Color(UIColor.systemBackground)
|
||||
Color(theme.secondaryBGColor)
|
||||
)
|
||||
.clipShape(RoundedRectangle(cornerRadius: 25, style: .continuous))
|
||||
.contentShape(Rectangle())
|
||||
|
||||
Reference in New Issue
Block a user