Permalink
Browse files

Fixed typo for compactMap

  • Loading branch information...
mattbarker016 committed Apr 11, 2018
1 parent 0b4e535 commit e8d5da650cee3fd9ae0696bb50754df00e7ef2db
Showing with 1 addition and 1 deletion.
  1. +1 −1 SwiftyStoreKit/InAppReceipt.swift
@@ -180,7 +180,7 @@ internal class InAppReceipt {
return nil
}
#else
return receiptItems.compactMap {
return receiptItems.flatMap {
if let expirationDate = $0.subscriptionExpirationDate {
return (expirationDate, $0)
}

0 comments on commit e8d5da6

Please sign in to comment.