mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-16 20:26:37 +00:00
Fix #272
This commit is contained in:
parent
d6aa99eb57
commit
3e3c109a84
1 changed files with 3 additions and 1 deletions
|
@ -5,6 +5,7 @@ import Status
|
|||
import SwiftUI
|
||||
|
||||
struct DisplaySettingsView: View {
|
||||
@Environment(\.colorScheme) private var colorScheme
|
||||
@EnvironmentObject private var theme: Theme
|
||||
@EnvironmentObject private var userPreferences: UserPreferences
|
||||
|
||||
|
@ -56,7 +57,8 @@ struct DisplaySettingsView: View {
|
|||
|
||||
Section {
|
||||
Button {
|
||||
theme.selectedSet = .iceCubeDark
|
||||
theme.followSystemColorScheme = true
|
||||
theme.selectedSet = colorScheme == .dark ? .iceCubeDark : .iceCubeLight
|
||||
theme.avatarShape = .rounded
|
||||
theme.avatarPosition = .top
|
||||
theme.statusActionsDisplay = .full
|
||||
|
|
Loading…
Reference in a new issue