Skip to content

Commit

Permalink
🚀[Release v3.11.0] Merge into Develop (#199)
Browse files Browse the repository at this point in the history
* version bump

- build bump

* build bump to trigger bitrise

* bump for matching bitrise

* Fixed a crash when force trying to get a creation date of unexisting file (#188)

Co-authored-by: Iferencak <[email protected]>
  • Loading branch information
kcw-grunt and Iferencak authored Jan 26, 2023
1 parent cee03a1 commit 42397e6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
15 changes: 9 additions & 6 deletions loafwallet.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -4618,7 +4618,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = loafwallet/loafwallet.entitlements;
CURRENT_PROJECT_VERSION = 1603;
CURRENT_PROJECT_VERSION = 1606;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = ZV7987N2ZC;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
Expand All @@ -4628,12 +4628,13 @@
"$(inherited)",
);
INFOPLIST_FILE = "$(SRCROOT)/loafwallet/Info.plist";
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.finance";
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 3.10.2;
MARKETING_VERSION = 3.11.0;
OTHER_SWIFT_FLAGS = "-DDebug $(inherited)";
PRODUCT_BUNDLE_IDENTIFIER = com.litecoin.loafwallet;
PRODUCT_MODULE_NAME = loafwallet;
Expand Down Expand Up @@ -5034,7 +5035,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = loafwallet/loafwallet.entitlements;
CURRENT_PROJECT_VERSION = 1603;
CURRENT_PROJECT_VERSION = 1606;
DEVELOPMENT_TEAM = ZV7987N2ZC;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
FRAMEWORK_SEARCH_PATHS = (
Expand All @@ -5043,12 +5044,13 @@
"$(inherited)",
);
INFOPLIST_FILE = "$(SRCROOT)/loafwallet/Info.plist";
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.finance";
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 3.10.2;
MARKETING_VERSION = 3.11.0;
OTHER_SWIFT_FLAGS = "$(inherited)";
PRODUCT_BUNDLE_IDENTIFIER = com.litecoin.loafwallet;
PRODUCT_MODULE_NAME = loafwallet;
Expand Down Expand Up @@ -5165,7 +5167,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = loafwallet/loafwallet.entitlements;
CURRENT_PROJECT_VERSION = 1603;
CURRENT_PROJECT_VERSION = 1606;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = ZV7987N2ZC;
FRAMEWORK_SEARCH_PATHS = (
Expand All @@ -5174,12 +5176,13 @@
"$(inherited)",
);
INFOPLIST_FILE = "$(SRCROOT)/loafwallet/Info.plist";
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.finance";
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 3.10.2;
MARKETING_VERSION = 3.11.0;
OTHER_SWIFT_FLAGS = "-DDebug -DTestnet $(inherited)";
PRODUCT_BUNDLE_IDENTIFIER = com.litecoin.loafwallet;
PRODUCT_MODULE_NAME = loafwallet;
Expand Down
4 changes: 2 additions & 2 deletions loafwallet/BuyTableViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ class BuyTableViewController: UITableViewController, SFSafariViewControllerDeleg
private let appInstallDate: Date = {
if let documentsFolder = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).last
{
if let installDate = try! FileManager.default.attributesOfItem(atPath: documentsFolder.path)[.creationDate] as? Date
if let installDate = try? FileManager.default.attributesOfItem(atPath: documentsFolder.path)[.creationDate] as? Date
{
return installDate
return installDate ?? Date()
}
}
return Date()
Expand Down

0 comments on commit 42397e6

Please sign in to comment.