Skip to content

Commit

Permalink
fixed fatal error
Browse files Browse the repository at this point in the history
  • Loading branch information
artginzburg committed Feb 29, 2020
1 parent b1c0a43 commit ec4ffa5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions 2FA to Tray.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -396,15 +396,15 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 15;
CURRENT_PROJECT_VERSION = 16;
DEVELOPMENT_TEAM = R2294BC6J8;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = "2FA to Tray/Info.plist";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MARKETING_VERSION = 1.4.8;
MARKETING_VERSION = 1.4.8.1;
PRODUCT_BUNDLE_IDENTIFIER = com.dafuqtor.2FAtoTray;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -421,15 +421,15 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 15;
CURRENT_PROJECT_VERSION = 16;
DEVELOPMENT_TEAM = R2294BC6J8;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = "2FA to Tray/Info.plist";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MARKETING_VERSION = 1.4.8;
MARKETING_VERSION = 1.4.8.1;
PRODUCT_BUNDLE_IDENTIFIER = com.dafuqtor.2FAtoTray;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
2 changes: 1 addition & 1 deletion 2FA to Tray/StatusMenuController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ class StatusMenuController: NSObject, NSMenuDelegate {
var newInstIndex = 0

for bunch in dataArray {
let theBunch = (bunch as! Array<Any>)
let theBunch = (bunch is String) ? [bunch, "Account", 6] as [Any] : (bunch as! Array<Any>)

let theSecret = (theBunch[0] as! String).condenseWhitespace()
let theName = (theBunch[1] as! String).condenseWhitespace()
Expand Down

0 comments on commit ec4ffa5

Please sign in to comment.