Skip to content

Commit

Permalink
Bump BDK version
Browse files Browse the repository at this point in the history
chore: update bdk version to fix an xcode bug preventing the simulator and preview from working

fix: prevent transactions list from crashing
  • Loading branch information
geigerzaehler242 committed Apr 1, 2024
1 parent 7bbb444 commit 766996c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion iosApp/iosApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@
repositoryURL = "https://github.com/bitcoindevkit/bdk-swift.git";
requirement = {
kind = exactVersion;
version = 0.31.0;
version = 0.31.1;
};
};
/* End XCRemoteSwiftPackageReference section */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"originHash" : "ca3197f4ba2afd517d13387ef91c0c2e58f0be47e5ec0fae62ba8325d4605b8a",
"pins" : [
{
"identity" : "bdk-swift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/bitcoindevkit/bdk-swift.git",
"state" : {
"revision" : "20ca547a69487a41665ad7d92b0f1aa46b84d9d0",
"version" : "0.31.0"
"revision" : "f2398109ebd8759322f601d9938779f3cdf99a12",
"version" : "0.31.1"
}
}
],
"version" : 2
"version" : 3
}
2 changes: 1 addition & 1 deletion iosApp/iosApp/WalletView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ struct WalletTransactionsListItemView: View {

Spacer()
Text(
transaction.sent > 0
transaction.sent > transaction.received
? "- \(transaction.sent - transaction.received) sats"
: "+ \(transaction.received - transaction.sent) sats"
)
Expand Down

0 comments on commit 766996c

Please sign in to comment.