This commit is contained in:
Alin
2023-12-20 15:02:31 -07:00
parent 85d1a87e9c
commit 9405e02ca0
8 changed files with 37 additions and 22 deletions
+2 -1
View File
@@ -97,10 +97,11 @@ struct GeneralSettingsTab: View {
})
.toggleStyle(.switch)
.onChange(of: mini) { newVal in
resizeWindow(width: 300, height: 300)
if mini {
resizeWindow(width: 300, height: 300)
appState.currentView = .empty
} else {
resizeWindow(width: 700, height: 500)
if appState.appInfo.appName.isEmpty {
appState.currentView = .empty
} else {