change text color to default them color
This commit is contained in:
@@ -19,6 +19,7 @@ struct ThemePickerView: View {
|
|||||||
Spacer()
|
Spacer()
|
||||||
ForEach(Theme.allCases, id:\.rawValue) { aTheme in
|
ForEach(Theme.allCases, id:\.rawValue) { aTheme in
|
||||||
Button(action: {
|
Button(action: {
|
||||||
|
textColor = aTheme.currentTheme.labelColor
|
||||||
theme = aTheme
|
theme = aTheme
|
||||||
EventLogger.log(event: "change_theme_id", withData: ["id": aTheme.rawValue])
|
EventLogger.log(event: "change_theme_id", withData: ["id": aTheme.rawValue])
|
||||||
}, label: {
|
}, label: {
|
||||||
|
|||||||
Reference in New Issue
Block a user