Browse Source

Make `SubscriptionType` Hashable.

Денис Андрейчук 5 năm trước cách đây
mục cha
commit
38d34dad27
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Sources/SwiftyStoreKit/SwiftyStoreKit+Types.swift

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

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