Skip to content

ui: fee view format #312

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions BDKSwiftExampleWallet/Resources/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"sourceLanguage" : "en",
"strings" : {
" High Priority - %lld" : {
"extractionState" : "stale",
"localizations" : {
"fr" : {
"stringUnit" : {
Expand All @@ -16,8 +17,12 @@
}
}
}
},
" High: %lld" : {

},
" Low Priority - %lld" : {
"extractionState" : "stale",
"localizations" : {
"fr" : {
"stringUnit" : {
Expand All @@ -32,8 +37,12 @@
}
}
}
},
" Low: %lld" : {

},
" Med Priority - %lld" : {
"extractionState" : "stale",
"localizations" : {
"fr" : {
"stringUnit" : {
Expand All @@ -50,6 +59,7 @@
}
},
" No Priority - %lld" : {
"extractionState" : "stale",
"localizations" : {
"fr" : {
"stringUnit" : {
Expand All @@ -64,6 +74,9 @@
}
}
}
},
" None: %lld" : {

},
"- %llu sats" : {
"extractionState" : "stale",
Expand Down Expand Up @@ -710,6 +723,9 @@
}
}
}
},
"Med: %lld" : {

},
"Navigation Title" : {
"extractionState" : "stale",
Expand Down
10 changes: 5 additions & 5 deletions BDKSwiftExampleWallet/View/Send/FeeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ struct FeeView: View {
variableValue: 0.0
)
Text(
" No Priority - \(viewModel.recommendedFees?.minimumFee ?? 1)"
" None • \(viewModel.recommendedFees?.minimumFee ?? 1)"
)
}
.tag(0)
Expand All @@ -44,7 +44,7 @@ struct FeeView: View {
variableValue: 0.33
)
Text(
" Low Priority - \(viewModel.recommendedFees?.hourFee ?? 1)"
" Low \(viewModel.recommendedFees?.hourFee ?? 1)"
)
}
.tag(1)
Expand All @@ -54,7 +54,7 @@ struct FeeView: View {
variableValue: 0.66
)
Text(
" Med Priority - \(viewModel.recommendedFees?.halfHourFee ?? 1)"
" Medium • \(viewModel.recommendedFees?.halfHourFee ?? 1)"
)
}
.tag(2)
Expand All @@ -64,7 +64,7 @@ struct FeeView: View {
variableValue: 1.0
)
Text(
" High Priority - \(viewModel.recommendedFees?.fastestFee ?? 1)"
" High \(viewModel.recommendedFees?.fastestFee ?? 1)"
)
}
.tag(3)
Expand Down Expand Up @@ -108,7 +108,7 @@ struct FeeView: View {

}
.padding()
.navigationTitle("Fees")
.navigationTitle("Fee Priority")
.task {
await viewModel.getFees()
}
Expand Down