Skip to content

Commit 04292e0

Browse files
committedMar 17, 2025··
Refactored SalePromo for premium env
1 parent fedc482 commit 04292e0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎Cryptomator/Purchase/SalePromo.swift

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
// Copyright © 2025 Skymatic GmbH. All rights reserved.
77
//
88

9-
#if !ALWAYS_PREMIUM
109
import Dependencies
1110
import Foundation
1211

@@ -28,7 +27,10 @@ struct SalePromo {
2827
}
2928

3029
func shouldShowSpring2025Banner() -> Bool {
30+
#if !ALWAYS_PREMIUM
3131
return SalePromo.isSpring2025Active() && !(cryptomatorSettings.fullVersionUnlocked || cryptomatorSettings.hasRunningSubscription) && !cryptomatorSettings.spring2025BannerDismissed
32+
#else
33+
return false
34+
#endif
3235
}
3336
}
34-
#endif

0 commit comments

Comments
 (0)
Please sign in to comment.