File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Modules/Sources/Storage/Model Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -80,8 +80,10 @@ extension Storage.GeneralAppSettings {
8080 let sitesWithAtLeastOneIPPTransactionFinished = sitesWithAtLeastOneIPPTransactionFinished ?? self . sitesWithAtLeastOneIPPTransactionFinished
8181 let isEUShippingNoticeDismissed = isEUShippingNoticeDismissed ?? self . isEUShippingNoticeDismissed
8282 let isCustomFieldsTopBannerDismissed = isCustomFieldsTopBannerDismissed ?? self . isCustomFieldsTopBannerDismissed
83- let isPOSSurveyPotentialMerchantNotificationScheduled = isPOSSurveyPotentialMerchantNotificationScheduled ?? self . isPOSSurveyPotentialMerchantNotificationScheduled
84- let isPOSSurveyCurrentMerchantNotificationScheduled = isPOSSurveyCurrentMerchantNotificationScheduled ?? self . isPOSSurveyCurrentMerchantNotificationScheduled
83+ let isPOSSurveyPotentialMerchantNotificationScheduled = isPOSSurveyPotentialMerchantNotificationScheduled ??
84+ self . isPOSSurveyPotentialMerchantNotificationScheduled
85+ let isPOSSurveyCurrentMerchantNotificationScheduled = isPOSSurveyCurrentMerchantNotificationScheduled ??
86+ self . isPOSSurveyCurrentMerchantNotificationScheduled
8587 let hasPOSBeenOpenedAtLeastOnce = hasPOSBeenOpenedAtLeastOnce ?? self . hasPOSBeenOpenedAtLeastOnce
8688
8789 return Storage . GeneralAppSettings (
Original file line number Diff line number Diff line change @@ -194,7 +194,9 @@ extension GeneralAppSettings {
194194 forKey: . sitesWithAtLeastOneIPPTransactionFinished) ?? Set < Int64 > ( [ ] )
195195 self . isEUShippingNoticeDismissed = try container. decodeIfPresent ( Bool . self, forKey: . isEUShippingNoticeDismissed) ?? false
196196 self . isCustomFieldsTopBannerDismissed = try container. decodeIfPresent ( Bool . self, forKey: . isCustomFieldsTopBannerDismissed) ?? false
197+ //swiftlint:disable:next line_length
197198 self . isPOSSurveyPotentialMerchantNotificationScheduled = try container. decodeIfPresent ( Bool . self, forKey: . isPOSSurveyPotentialMerchantNotificationScheduled) ?? false
199+ //swiftlint:disable:next line_length
198200 self . isPOSSurveyCurrentMerchantNotificationScheduled = try container. decodeIfPresent ( Bool . self, forKey: . isPOSSurveyCurrentMerchantNotificationScheduled) ?? false
199201 self . hasPOSBeenOpenedAtLeastOnce = try container. decodeIfPresent ( Bool . self, forKey: . hasPOSBeenOpenedAtLeastOnce) ?? false
200202 // Decode new properties with `decodeIfPresent` and provide a default value if necessary.
You can’t perform that action at this time.
0 commit comments