diff --git a/BDKSwiftExampleWallet/Resources/Localizable.xcstrings b/BDKSwiftExampleWallet/Resources/Localizable.xcstrings index 0ff37f57..8eedc6ea 100644 --- a/BDKSwiftExampleWallet/Resources/Localizable.xcstrings +++ b/BDKSwiftExampleWallet/Resources/Localizable.xcstrings @@ -1,9 +1,6 @@ { "sourceLanguage" : "en", "strings" : { - " High • %lld" : { - - }, " High Priority - %lld" : { "extractionState" : "stale", "localizations" : { @@ -20,9 +17,6 @@ } } } - }, - " Low • %lld" : { - }, " Low Priority - %lld" : { "extractionState" : "stale", @@ -57,9 +51,6 @@ } } } - }, - " Medium • %lld" : { - }, " No Priority - %lld" : { "extractionState" : "stale", @@ -77,9 +68,6 @@ } } } - }, - " None • %lld" : { - }, "- %llu sats" : { "extractionState" : "stale", @@ -176,6 +164,18 @@ } } }, + "%@ • %lld" : { + "comment" : "A label that describes the transaction fee and its corresponding value. The first argument is the fee title, which is a string describing the fee type (e.g., \"Low\", \"Medium\", \"High\"). The second argument is the fee value, which is a string representing the fee amount in satoshis.", + "isCommentAutoGenerated" : true, + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "new", + "value" : "%1$@ • %2$lld" + } + } + } + }, "%@ sats" : { "localizations" : { "fr" : { @@ -1018,6 +1018,7 @@ } }, "sat/vb" : { + "extractionState" : "stale", "localizations" : { "fr" : { "stringUnit" : { @@ -1077,6 +1078,7 @@ }, "Select Fee" : { + "extractionState" : "stale", "localizations" : { "fr" : { "stringUnit" : { @@ -1102,6 +1104,10 @@ } } }, + "Selected: %lld sat/vb fee" : { + "comment" : "A footer label showing the currently selected transaction fee.", + "isCommentAutoGenerated" : true + }, "Send" : { "localizations" : { "fr" : { diff --git a/BDKSwiftExampleWallet/View/Activity/LocalOutputListView.swift b/BDKSwiftExampleWallet/View/Activity/LocalOutputListView.swift index e5cfecc4..f876be96 100644 --- a/BDKSwiftExampleWallet/View/Activity/LocalOutputListView.swift +++ b/BDKSwiftExampleWallet/View/Activity/LocalOutputListView.swift @@ -29,7 +29,10 @@ struct LocalOutputListView: View { .listRowInsets(EdgeInsets()) .listRowSeparator(.hidden) } else { - ForEach(localOutputs, id: \.outpoint) { output in + let sortedOutputs = localOutputs.sorted { lhs, rhs in + lhs.outpoint.txid.description < rhs.outpoint.txid.description + } + ForEach(sortedOutputs, id: \.outpoint) { output in LocalOutputItemView( isRedacted: false, output: output,