Skip to content

Commit 1905771

Browse files
committed
don't do anything specific during login
1 parent 3576dc1 commit 1905771

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Flitro/FlitroApp.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,6 @@ struct ContentView: View {
4141
selectedContextID: $selectedContextID
4242
)
4343
.onAppear {
44-
if ProcessInfo.processInfo.arguments.contains("-NSApplicationIsLoginItem") {
45-
if let window = NSApp.windows.first {
46-
window.orderOut(nil)
47-
NSApp.setActivationPolicy(.accessory)
48-
}
49-
}
5044
if selectedContextID == nil, let first = contextManager.contexts.first {
5145
selectedContextID = first.id
5246
}

0 commit comments

Comments
 (0)