mirror of
https://github.com/neon443/NearFuture.git
synced 2026-03-11 06:49:12 +00:00
add settings on mac
add whats new on mac clean up settings on ios clean up whats new + liquid glass
This commit is contained in:
@@ -12,7 +12,7 @@ struct ContentView: View {
|
||||
@StateObject var settingsModel: SettingsViewModel
|
||||
|
||||
var body: some View {
|
||||
NavigationSplitView(preferredCompactColumn: .constant(.sidebar)) {
|
||||
NavigationSplitView {
|
||||
List {
|
||||
NavigationLink {
|
||||
HomeView(
|
||||
@@ -43,11 +43,15 @@ struct ContentView: View {
|
||||
}
|
||||
}
|
||||
} detail: {
|
||||
|
||||
Text("Welcome to Near Future")
|
||||
}
|
||||
.tint(settingsModel.settings.tint.color)
|
||||
.frame(minWidth: 450, minHeight: 550)
|
||||
.containerBackground(.ultraThinMaterial, for: .window)
|
||||
.containerBackground(.regularMaterial, for: .window)
|
||||
.sheet(isPresented: $settingsModel.settings.showWhatsNew) {
|
||||
WhatsNewView(settingsModel: settingsModel)
|
||||
.presentationSizing(.form)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user