mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-26 17:10:34 +01:00
32 lines
724 B
Swift
32 lines
724 B
Swift
//
|
|
// WalletGradient.swift
|
|
// BlueWalletWatch Extension
|
|
//
|
|
// Created by Marcos Rodriguez on 3/23/19.
|
|
// Copyright © 2019 Facebook. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
enum WalletGradient: String {
|
|
case SegwitHD = "HDsegwitP2SH"
|
|
case Segwit = "segwitP2SH"
|
|
case LightningCustodial = "lightningCustodianWallet"
|
|
case SegwitNative = "HDsegwitBech32"
|
|
case WatchOnly = "watchOnly"
|
|
|
|
var imageString: String{
|
|
switch self {
|
|
case .Segwit:
|
|
return "wallet"
|
|
case .SegwitNative:
|
|
return "walletHDSegwitNative"
|
|
case .SegwitHD:
|
|
return "walletHD"
|
|
case .WatchOnly:
|
|
return "walletWatchOnly"
|
|
case .LightningCustodial:
|
|
return "walletLightningCustodial"
|
|
}
|
|
}
|
|
}
|