Skip to content

Commit 27802ff

Browse files
committed
Remove unused code
1 parent 2e19e09 commit 27802ff

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

WooCommerce/Classes/ViewRelated/Orders/Order Details/Shipping Labels/WooShipping Create Shipping Labels/WooShippingCreateLabelsViewModel.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -636,14 +636,6 @@ private extension WooShippingCreateLabelsViewModel {
636636
return address?.toWooShippingAddress()
637637
}
638638

639-
static func getStoredAccountSettings() -> AccountSettings? {
640-
let storageManager = ServiceLocator.storageManager
641-
642-
let resultsController = ResultsController<StorageAccountSettings>(storageManager: storageManager, sortedBy: [])
643-
try? resultsController.performFetch()
644-
return resultsController.fetchedObjects.first
645-
}
646-
647639
func observePaymentMethod() {
648640
$paymentMethod
649641
.combineLatest($shipments, $selectedShipmentIndex)

0 commit comments

Comments
 (0)