From f49c024f3034e72f0f8f55f11b67fd0ae93e5d6f Mon Sep 17 00:00:00 2001 From: Andrei Solovev Date: Mon, 27 Nov 2023 17:00:24 +0700 Subject: [PATCH] Cleanup unused PaymentChooserOption's sorting property --- OmiseSDK/PaymentChooserViewController.swift | 38 --------------------- 1 file changed, 38 deletions(-) diff --git a/OmiseSDK/PaymentChooserViewController.swift b/OmiseSDK/PaymentChooserViewController.swift index 08efbce7..8fa0540f 100644 --- a/OmiseSDK/PaymentChooserViewController.swift +++ b/OmiseSDK/PaymentChooserViewController.swift @@ -39,44 +39,6 @@ enum PaymentChooserOption: CaseIterable, Equatable, CustomStringConvertible { case grabPayRms case payPay - static var sorting: [PaymentChooserOption] { - return [ - .creditCard, - .installment, - .promptpay, - .citiPoints, - .alipay, - .alipayCN, - .alipayHK, - .atome, - .dana, - .gcash, - .kakaoPay, - .touchNGoAlipayPlus, - .internetBanking, - .mobileBanking, - .tescoLotus, - .paynow, - .conbini, - .payEasy, - .netBanking, - .fpx, - .rabbitLinepay, - .ocbcPao, - .ocbcDigital, - .grabPay, - .boost, - .shopeePay, - .shopeePayJumpApp, - .maybankQRPay, - .duitNowQR, - .duitNowOBW, - .touchNGo, - .grabPayRms, - .payPay - ] - } - var description: String { switch self { case .creditCard: