Skip to content

Commit d4b431c

Browse files
Update BDK and all other rust dependencies (#312)
* Switch to using uniffi_cli * Update `bdk_wallet` to `2.0.0` * Update `bdk_electrum` and `bdk_esplora` * Fix breaks on updating BDK libs * Fix clippy lints and swift fmts
1 parent 5b20d9f commit d4b431c

File tree

26 files changed

+366
-616
lines changed

26 files changed

+366
-616
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
steps:
2828
- uses: actions/checkout@v4
2929
- name: SwiftFormat
30-
run: swiftformat --lint . --reporter github-actions-log --swiftversion 6 --exclude ios/CoveCore
30+
run: brew upgrade swiftformat && swiftformat --lint . --reporter github-actions-log --swiftversion 6 --exclude ios/CoveCore
3131

3232
test:
3333
strategy:

.swiftformat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
--exclude ios/CoveCore/Sources/CoveCore/generated
22
--disable redundantSelf
3+
--disable redundantPublic
4+
--disable redundantNilInit
35
--swiftversion 6.0

ios/CodeScanner/ScannerViewController.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@
135135
let button = UIButton(type: .system)
136136
let image = UIImage(systemName: "photo.on.rectangle")
137137
let background = UIImage(systemName: "capsule.fill")?.withTintColor(
138-
.systemBackground, renderingMode: .alwaysOriginal)
138+
.systemBackground, renderingMode: .alwaysOriginal
139+
)
139140
button.setImage(image, for: .normal)
140141
button.setBackgroundImage(background, for: .normal)
141142
button.addTarget(

ios/Cove/CoinControlManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ extension WeakReconciler: CoinControlManagerReconciler where Reconciler == CoinC
7171
}
7272

7373
public func buttonArrow(_ key: CoinControlListSortKey) -> String? {
74-
let _ = self.sort
74+
_ = self.sort
7575
return switch self.rust.buttonPresentation(button: key) {
7676
case .selected(.ascending):
7777
"arrow.up"

0 commit comments

Comments
 (0)