Skip to content

Commit 4ed0338

Browse files
committed
Remove gate for dodo codes notifications
1 parent 27526b7 commit 4ed0338

File tree

2 files changed

+4
-29
lines changed

2 files changed

+4
-29
lines changed

ACHNBrowserUI/ACHNBrowserUI.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1390,7 +1390,7 @@
13901390
CODE_SIGN_ENTITLEMENTS = ACHNBrowserUI/ACHNBrowserUI.entitlements;
13911391
CODE_SIGN_IDENTITY = "Apple Development: Thomas Ricouard (7MB55D6BJ5)";
13921392
CODE_SIGN_STYLE = Manual;
1393-
CURRENT_PROJECT_VERSION = 061712020;
1393+
CURRENT_PROJECT_VERSION = 061912020;
13941394
DEVELOPMENT_ASSET_PATHS = "\"ACHNBrowserUI/Preview Content\"";
13951395
DEVELOPMENT_TEAM = Z6P74P6T99;
13961396
ENABLE_PREVIEWS = YES;
@@ -1400,7 +1400,7 @@
14001400
"$(inherited)",
14011401
"@executable_path/Frameworks",
14021402
);
1403-
MARKETING_VERSION = 1.7.7;
1403+
MARKETING_VERSION = 1.7.8;
14041404
PRODUCT_BUNDLE_IDENTIFIER = com.thomasricouard.ACNH;
14051405
PRODUCT_NAME = "AC Helper";
14061406
PROVISIONING_PROFILE_SPECIFIER = "AC Dev";
@@ -1421,7 +1421,7 @@
14211421
CODE_SIGN_IDENTITY = "iPhone Developer";
14221422
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
14231423
CODE_SIGN_STYLE = Manual;
1424-
CURRENT_PROJECT_VERSION = 061712020;
1424+
CURRENT_PROJECT_VERSION = 061912020;
14251425
DEVELOPMENT_ASSET_PATHS = "\"ACHNBrowserUI/Preview Content\"";
14261426
DEVELOPMENT_TEAM = Z6P74P6T99;
14271427
ENABLE_PREVIEWS = YES;
@@ -1431,7 +1431,7 @@
14311431
"$(inherited)",
14321432
"@executable_path/Frameworks",
14331433
);
1434-
MARKETING_VERSION = 1.7.7;
1434+
MARKETING_VERSION = 1.7.8;
14351435
PRODUCT_BUNDLE_IDENTIFIER = com.thomasricouard.ACNH;
14361436
PRODUCT_NAME = "AC Helper";
14371437
PROVISIONING_PROFILE_SPECIFIER = "AC Dev";

ACHNBrowserUI/ACHNBrowserUI/views/dodocode/DodoCodeListView.swift

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import SwiftUIKit
1313

1414
struct DodoCodeListView: View {
1515
@EnvironmentObject private var service: DodoCodeService
16-
@EnvironmentObject private var subscription: SubscriptionManager
1716

1817
@State private var sheet: Sheet.SheetType?
1918
@State private var showiCloudAlert = false
@@ -34,30 +33,6 @@ struct DodoCodeListView: View {
3433
Text("Get notified of new Dodo codes")
3534
.foregroundColor(.acText)
3635
}
37-
.disabled(subscription.subscriptionStatus != .subscribed)
38-
if subscription.subscriptionStatus != .subscribed {
39-
VStack(spacing: 8) {
40-
Button(action: {
41-
self.sheet = .subscription(source: .dodo, subManager: self.subscription)
42-
}) {
43-
Text("To help us support the application and get notifications when a new Dodo code is posted, you can try out AC Helper+")
44-
.foregroundColor(.acSecondaryText)
45-
.lineLimit(nil)
46-
.fixedSize(horizontal: false, vertical: true)
47-
.padding(.top, 8)
48-
}
49-
Button(action: {
50-
self.sheet = .subscription(source: .dodo, subManager: self.subscription)
51-
}) {
52-
Text("Learn more...")
53-
.font(.headline)
54-
.fontWeight(.bold)
55-
.foregroundColor(.white)
56-
}.buttonStyle(PlainRoundedButton())
57-
.accentColor(.acHeaderBackground)
58-
.padding(.bottom, 8)
59-
}
60-
}
6136
}
6237

6338
if service.isSynching && service.codes.isEmpty {

0 commit comments

Comments
 (0)