From 51608cb21d2c864f19ade4b173fe1731bfa726bf Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Fri, 2 Jun 2023 11:42:36 +0800 Subject: [PATCH] Move the logout button --- apple/Omnivore.xcodeproj/project.pbxproj | 4 ++-- apple/OmnivoreKit/Sources/App/MacMenuCommands.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apple/Omnivore.xcodeproj/project.pbxproj b/apple/Omnivore.xcodeproj/project.pbxproj index 6e02bb21e..25d13c1f2 100644 --- a/apple/Omnivore.xcodeproj/project.pbxproj +++ b/apple/Omnivore.xcodeproj/project.pbxproj @@ -1388,7 +1388,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 90; + CURRENT_PROJECT_VERSION = 91; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_ASSET_PATHS = ""; DEVELOPMENT_TEAM = QJF2XZ86HB; @@ -1423,7 +1423,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 90; + CURRENT_PROJECT_VERSION = 91; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_ASSET_PATHS = ""; DEVELOPMENT_TEAM = QJF2XZ86HB; diff --git a/apple/OmnivoreKit/Sources/App/MacMenuCommands.swift b/apple/OmnivoreKit/Sources/App/MacMenuCommands.swift index 4f9567126..0d63e157d 100644 --- a/apple/OmnivoreKit/Sources/App/MacMenuCommands.swift +++ b/apple/OmnivoreKit/Sources/App/MacMenuCommands.swift @@ -142,7 +142,7 @@ import Views } }) } - CommandGroup(after: .appTermination) { + CommandGroup(before: .appTermination) { Button("Logout", action: { NSNotification.logout() })