mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-27 12:59:17 +01:00
Fix #272
This commit is contained in:
parent
d6aa99eb57
commit
3e3c109a84
@ -5,6 +5,7 @@ import Status
|
|||||||
import SwiftUI
|
import SwiftUI
|
||||||
|
|
||||||
struct DisplaySettingsView: View {
|
struct DisplaySettingsView: View {
|
||||||
|
@Environment(\.colorScheme) private var colorScheme
|
||||||
@EnvironmentObject private var theme: Theme
|
@EnvironmentObject private var theme: Theme
|
||||||
@EnvironmentObject private var userPreferences: UserPreferences
|
@EnvironmentObject private var userPreferences: UserPreferences
|
||||||
|
|
||||||
@ -56,7 +57,8 @@ struct DisplaySettingsView: View {
|
|||||||
|
|
||||||
Section {
|
Section {
|
||||||
Button {
|
Button {
|
||||||
theme.selectedSet = .iceCubeDark
|
theme.followSystemColorScheme = true
|
||||||
|
theme.selectedSet = colorScheme == .dark ? .iceCubeDark : .iceCubeLight
|
||||||
theme.avatarShape = .rounded
|
theme.avatarShape = .rounded
|
||||||
theme.avatarPosition = .top
|
theme.avatarPosition = .top
|
||||||
theme.statusActionsDisplay = .full
|
theme.statusActionsDisplay = .full
|
||||||
|
Loading…
x
Reference in New Issue
Block a user