We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43d10eb commit 12bcaebCopy full SHA for 12bcaeb
2 files changed
DevLog/UI/Setting/SettingView.swift
@@ -114,7 +114,6 @@ struct SettingView: View {
114
switch path {
115
case .theme:
116
ThemeView(
117
- isInteractionEnabled: connected,
118
theme: Binding(
119
get: { viewModel.state.theme },
120
set: { viewModel.send(.setTheme($0)) }
DevLog/UI/Setting/ThemeView.swift
@@ -8,7 +8,6 @@
8
import SwiftUI
9
10
struct ThemeView: View {
11
- let isInteractionEnabled: Bool
12
@Binding var theme: SystemTheme
13
14
var body: some View {
@@ -50,7 +49,6 @@ struct ThemeView: View {
50
49
}
51
52
53
- .disabled(!isInteractionEnabled)
54
.listStyle(.insetGrouped)
55
.toolbar {
56
ToolbarItem(placement: .principal) {
0 commit comments