ソースを参照

Merge pull request #565 from Pimine/master

Make `SubscriptionType` Hashable.
Samuel Spencer 5 年 前
コミット
f067745348
1 ファイル変更1 行追加1 行削除
  1. 1 1
      Sources/SwiftyStoreKit/SwiftyStoreKit+Types.swift

+ 1 - 1
Sources/SwiftyStoreKit/SwiftyStoreKit+Types.swift

@@ -175,7 +175,7 @@ public enum VerifySubscriptionResult {
     case notPurchased
     case notPurchased
 }
 }
 
 
-public enum SubscriptionType {
+public enum SubscriptionType: Hashable {
     case autoRenewable
     case autoRenewable
     case nonRenewing(validDuration: TimeInterval)
     case nonRenewing(validDuration: TimeInterval)
 }
 }