Skip to content

Commit 7886799

Browse files
committed
resolved conflict resolution errors
Signed-off-by: kcw-grunt <mrkerrywashington@icloud.com>
1 parent 30c5c32 commit 7886799

File tree

7 files changed

+6
-11
lines changed

7 files changed

+6
-11
lines changed

litewallet/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
4848
LWAnalytics.logEventWithParameters(itemName: ._20200112_ERR,
4949
properties: properties)
5050
}
51-
51+
5252
updateCurrentUserLocale(localeId: Locale.current.identifier)
5353

5454
guard let thisWindow = window else { return false }

litewallet/ApplicationController.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ class ApplicationController: Subscriber, Trackable {
223223
}
224224

225225
private func startDataFetchers() {
226-
227226
initKVStoreCoordinator()
228227
feeUpdater?.refresh()
229228
defaultsUpdater?.refresh()

litewallet/Constants/Functions.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,5 @@ func tieredOpsFee(store: Store, amount: UInt64) -> UInt64 {
6464
return UInt64(3.00 / usdRate * 100_000_000)
6565
default:
6666
return UInt64(3.00 / usdRate * 100_000_000)
67-
6867
}
6968
}

litewallet/PartnerData.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ struct Partner {
3535
guard let releasePath = Bundle.main.path(forResource: "partner-keys",
3636
ofType: "plist")
3737
else {
38+
let errorDescription = "partnerkey_data_missing"
3839
LWAnalytics.logEventWithParameters(itemName: ._20200112_ERR, properties: ["error": errorDescription])
3940
return "error: FILE-NOT-FOUND"
4041
}
@@ -85,7 +86,6 @@ struct Partner {
8586
{
8687
return key
8788
} else {
88-
8989
let errorDescription = "error_pusher_id_key"
9090
LWAnalytics.logEventWithParameters(itemName: ._20200112_ERR, properties: ["error": errorDescription])
9191
return errorDescription
@@ -98,7 +98,7 @@ struct Partner {
9898
{
9999
return key
100100
} else {
101-
let errorDescription = "error_pusher_id_key"
101+
let errorDescription = "error_pusher_id_key"
102102

103103
LWAnalytics.logEventWithParameters(itemName: ._20200112_ERR, properties: ["error": errorDescription])
104104
return errorDescription

litewallet/TransactionCellViewModel.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ class TransactionCellViewModel: ObservableObject {
7474
amountText = transaction.descriptionString(isLtcSwapped: isLtcSwapped, rate: rate, maxDigits: maxDigits).string
7575

7676
feeText = transaction.amountDetails(isLtcSwapped: isLtcSwapped, rate: rate, rates: [rate], maxDigits: maxDigits)
77-
78-
addressText = String(format: transaction.direction.addressTextFormat, transaction.toAddress ?? "---ERROR---")
77+
78+
addressText = String(format: transaction.direction.addressTextFormat, transaction.toAddress ?? "---ERROR---")
7979

8080
if transaction.direction == .sent {
8181
directionImageText = "arrowtriangle.up.circle.fill"

litewallet/ViewControllers/RootModals/SendViewController.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ class SendViewController: UIViewController, Subscriber, ModalPresentable, Tracka
195195
// MARK: - SendButton Model Callbacks / Actions
196196

197197
sendButtonCell.rootView.doSendTransaction = {
198-
199198
if let sendAddress = self.sendAddressCell.address,
200199
sendAddress.isValidAddress
201200
{
@@ -232,7 +231,6 @@ class SendViewController: UIViewController, Subscriber, ModalPresentable, Tracka
232231
var combinedFeesOutput = ""
233232
var balanceColor: UIColor = .grayTextTint
234233

235-
<
236234
/// Check the amount is greater than zero and amount satoshis are not nil
237235
if let currentRate = currentRate,
238236
let enteredAmount = enteredAmount,

litewallet/ViewModels/Transaction.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ struct TransactionStatusTuple {
1212
class Transaction {
1313
// MARK: - Public
1414

15-
1615
private let opsAddressSet: Set<String> = Partner.litewalletOpsSet()
1716
init?(_ tx: BRTxRef, walletManager: WalletManager, kvStore: BRReplicatedKVStore?, rate: Rate?) {
1817
guard let wallet = walletManager.wallet else { return nil }
@@ -21,7 +20,7 @@ class Transaction {
2120
self.tx = tx
2221
self.wallet = wallet
2322
self.kvStore = kvStore
24-
23+
2524
let fee = wallet.feeForTx(tx) ?? 0
2625

2726
var outputAddresses = Set<String>()

0 commit comments

Comments
 (0)