Skip to content

Commit

Permalink
Bump version + simplify / fix notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimillian committed May 11, 2020
1 parent 7ebb9ba commit fdbc62d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions ACHNBrowserUI/ACHNBrowserUI.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1542,7 +1542,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = ACHNBrowserUI/ACHNBrowserUI.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 051042020;
CURRENT_PROJECT_VERSION = 051112020;
DEVELOPMENT_ASSET_PATHS = "\"ACHNBrowserUI/Preview Content\"";
DEVELOPMENT_TEAM = Z6P74P6T99;
ENABLE_PREVIEWS = YES;
Expand All @@ -1552,7 +1552,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.1.2;
MARKETING_VERSION = 1.2;
PRODUCT_BUNDLE_IDENTIFIER = com.thomasricouard.ACNH;
PRODUCT_NAME = "AC Helper";
SUPPORTS_MACCATALYST = YES;
Expand All @@ -1567,7 +1567,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = ACHNBrowserUI/ACHNBrowserUI.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 051042020;
CURRENT_PROJECT_VERSION = 051112020;
DEVELOPMENT_ASSET_PATHS = "\"ACHNBrowserUI/Preview Content\"";
DEVELOPMENT_TEAM = Z6P74P6T99;
ENABLE_PREVIEWS = YES;
Expand All @@ -1577,7 +1577,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.1.2;
MARKETING_VERSION = 1.2;
PRODUCT_BUNDLE_IDENTIFIER = com.thomasricouard.ACNH;
PRODUCT_NAME = "AC Helper";
SUPPORTS_MACCATALYST = YES;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class NotificationManager: NSObject {
let min = minMax[index].first!
let max = minMax[index].last!

if dayOfTheWeek >= today && today != 2 {
if dayOfTheWeek >= today {
let content = UNMutableNotificationContent()
content.title = "Turnip prices"
content.body = "Your prices predictions for \(isMorning ? "this morning": "this afternoon") should be around \(day) bells. With a minimum of \(min) and a maximum of \(max)."
Expand Down

0 comments on commit fdbc62d

Please sign in to comment.