Skip to content

Commit

Permalink
Remove gate for dodo codes notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimillian committed Jun 19, 2020
1 parent 27526b7 commit 4ed0338
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 29 deletions.
8 changes: 4 additions & 4 deletions ACHNBrowserUI/ACHNBrowserUI.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,7 @@
CODE_SIGN_ENTITLEMENTS = ACHNBrowserUI/ACHNBrowserUI.entitlements;
CODE_SIGN_IDENTITY = "Apple Development: Thomas Ricouard (7MB55D6BJ5)";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 061712020;
CURRENT_PROJECT_VERSION = 061912020;
DEVELOPMENT_ASSET_PATHS = "\"ACHNBrowserUI/Preview Content\"";
DEVELOPMENT_TEAM = Z6P74P6T99;
ENABLE_PREVIEWS = YES;
Expand All @@ -1400,7 +1400,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.7.7;
MARKETING_VERSION = 1.7.8;
PRODUCT_BUNDLE_IDENTIFIER = com.thomasricouard.ACNH;
PRODUCT_NAME = "AC Helper";
PROVISIONING_PROFILE_SPECIFIER = "AC Dev";
Expand All @@ -1421,7 +1421,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 061712020;
CURRENT_PROJECT_VERSION = 061912020;
DEVELOPMENT_ASSET_PATHS = "\"ACHNBrowserUI/Preview Content\"";
DEVELOPMENT_TEAM = Z6P74P6T99;
ENABLE_PREVIEWS = YES;
Expand All @@ -1431,7 +1431,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.7.7;
MARKETING_VERSION = 1.7.8;
PRODUCT_BUNDLE_IDENTIFIER = com.thomasricouard.ACNH;
PRODUCT_NAME = "AC Helper";
PROVISIONING_PROFILE_SPECIFIER = "AC Dev";
Expand Down
25 changes: 0 additions & 25 deletions ACHNBrowserUI/ACHNBrowserUI/views/dodocode/DodoCodeListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import SwiftUIKit

struct DodoCodeListView: View {
@EnvironmentObject private var service: DodoCodeService
@EnvironmentObject private var subscription: SubscriptionManager

@State private var sheet: Sheet.SheetType?
@State private var showiCloudAlert = false
Expand All @@ -34,30 +33,6 @@ struct DodoCodeListView: View {
Text("Get notified of new Dodo codes")
.foregroundColor(.acText)
}
.disabled(subscription.subscriptionStatus != .subscribed)
if subscription.subscriptionStatus != .subscribed {
VStack(spacing: 8) {
Button(action: {
self.sheet = .subscription(source: .dodo, subManager: self.subscription)
}) {
Text("To help us support the application and get notifications when a new Dodo code is posted, you can try out AC Helper+")
.foregroundColor(.acSecondaryText)
.lineLimit(nil)
.fixedSize(horizontal: false, vertical: true)
.padding(.top, 8)
}
Button(action: {
self.sheet = .subscription(source: .dodo, subManager: self.subscription)
}) {
Text("Learn more...")
.font(.headline)
.fontWeight(.bold)
.foregroundColor(.white)
}.buttonStyle(PlainRoundedButton())
.accentColor(.acHeaderBackground)
.padding(.bottom, 8)
}
}
}

if service.isSynching && service.codes.isEmpty {
Expand Down

0 comments on commit 4ed0338

Please sign in to comment.