closed #60
This commit is contained in:
Trey t
2022-02-04 16:49:56 -06:00
parent b3785fac2c
commit a1f70edec2
10 changed files with 150 additions and 29 deletions

View File

@@ -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())