mirror of
https://github.com/yattee/yattee.git
synced 2026-02-20 01:39:46 +00:00
Refactor views
This commit is contained in:
@@ -8,11 +8,11 @@
|
||||
import SwiftUI
|
||||
|
||||
struct SettingsView: View {
|
||||
var showCloseButton: Bool = true
|
||||
|
||||
@Environment(\.dismiss) private var dismiss
|
||||
@Environment(\.appEnvironment) private var appEnvironment
|
||||
|
||||
var showCloseButton: Bool = true
|
||||
|
||||
#if os(macOS)
|
||||
@State private var selectedSection: SettingsSection? = .sources
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user