Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Syn-McJ committed May 19, 2024
1 parent 22469b6 commit 49528e2
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ extension RateObject: Equatable {

protocol RatesProvider: AnyObject {
var updateHandler: (([RateObject]) -> Void)? { get set }
var hasFetchError: Bool { get }

func startExchangeRateFetching()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ final class CoinbaseRatesProvider: RatesProvider {
private let kRefreshTimeInterval: TimeInterval = 60

var updateHandler: (([RateObject]) -> Void)?
let hasFetchError: Bool = false

private var httpClient: CoinbaseAPI { CoinbaseAPI.shared }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ extension HomeViewController: DWLocalCurrencyViewControllerDelegate, DWExploreTe
}

private func showImportPrivateKey() {
let controller = DWImportWalletInfoViewController.swiftInit()
let controller = DWImportWalletInfoViewController.createController()
controller.delegate = self
presentControllerModallyInNavigationController(controller)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ NS_ASSUME_NONNULL_BEGIN
@property (nullable, nonatomic, weak) id<DWImportWalletInfoViewControllerDelegate> delegate;

+ (instancetype)controller;
+ (instancetype)swiftInit; // TODO

@end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ + (instancetype)controller {
return controller;
}

+ (instancetype)swiftInit {
return DWImportWalletInfoViewController.controller;
}

- (void)viewDidLoad {
[super viewDidLoad];

Expand Down

0 comments on commit 49528e2

Please sign in to comment.