This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import SwiftUI | |
| /// A narrow layout that replaces `VStack` in row scenes — when some children may collapse | |
| /// to zero height, **adjacent spacing is also continuously scaled by presence progress**, | |
| /// so that the final stage of collapse does not produce an un-animated spacing jump. | |
| /// | |
| /// ## Why not just use VStack | |
| /// | |
| /// `VStack(spacing: x)` spacing is an unconditional promise from the parent to all children: | |
| /// regardless of whether a child's current height is zero, adjacent gaps are always |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Foundation | |
| import StoreKit | |
| enum ProductsId: String { | |
| case subsWeekly24 = "WeeklyId" | |
| case subsAnnual24 = "AnnualId" | |
| } | |
| @MainActor | |
| class PurchaseManager: NSObject, ObservableObject { |