Skip to content

Commit

Permalink
Update Qonversion/Qonversion/Entities/Transaction.swift
Browse files Browse the repository at this point in the history
Co-authored-by: Kamo Spertsyan <spertsiankamo@gmail.com>
  • Loading branch information
suriksarkisyan and SpertsyanKM authored Apr 9, 2024
1 parent 100846c commit b5e2a5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Qonversion/Qonversion/Entities/Transaction.swift
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ extension Qonversion {
public var environment: Qonversion.Transaction.Environment? { Qonversion.Transaction.Environment(rawValue: storeKitTransaction?.environment.rawValue ?? "") }

@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *)
public var reason: Transaction.Reason {
public var reason: Qonversion.Transaction.Reason {
guard let storeKitTransaction = storeKitTransaction,
let reason = Qonversion.Transaction.Reason(rawValue: storeKitTransaction.reason.rawValue)
else { return Qonversion.Transaction.Reason.purchase }
Expand Down

0 comments on commit b5e2a5d

Please sign in to comment.