Skip to content

Commit 4b27173

Browse files
authored
ui: fee view format
1 parent 79d1d7c commit 4b27173

File tree

2 files changed

+21
-5
lines changed

2 files changed

+21
-5
lines changed

BDKSwiftExampleWallet/Resources/Localizable.xcstrings

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"sourceLanguage" : "en",
33
"strings" : {
44
" High Priority - %lld" : {
5+
"extractionState" : "stale",
56
"localizations" : {
67
"fr" : {
78
"stringUnit" : {
@@ -16,8 +17,12 @@
1617
}
1718
}
1819
}
20+
},
21+
" High: %lld" : {
22+
1923
},
2024
" Low Priority - %lld" : {
25+
"extractionState" : "stale",
2126
"localizations" : {
2227
"fr" : {
2328
"stringUnit" : {
@@ -32,8 +37,12 @@
3237
}
3338
}
3439
}
40+
},
41+
" Low: %lld" : {
42+
3543
},
3644
" Med Priority - %lld" : {
45+
"extractionState" : "stale",
3746
"localizations" : {
3847
"fr" : {
3948
"stringUnit" : {
@@ -50,6 +59,7 @@
5059
}
5160
},
5261
" No Priority - %lld" : {
62+
"extractionState" : "stale",
5363
"localizations" : {
5464
"fr" : {
5565
"stringUnit" : {
@@ -64,6 +74,9 @@
6474
}
6575
}
6676
}
77+
},
78+
" None: %lld" : {
79+
6780
},
6881
"- %llu sats" : {
6982
"extractionState" : "stale",
@@ -710,6 +723,9 @@
710723
}
711724
}
712725
}
726+
},
727+
"Med: %lld" : {
728+
713729
},
714730
"Navigation Title" : {
715731
"extractionState" : "stale",

BDKSwiftExampleWallet/View/Send/FeeView.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ struct FeeView: View {
3434
variableValue: 0.0
3535
)
3636
Text(
37-
" No Priority - \(viewModel.recommendedFees?.minimumFee ?? 1)"
37+
" None • \(viewModel.recommendedFees?.minimumFee ?? 1)"
3838
)
3939
}
4040
.tag(0)
@@ -44,7 +44,7 @@ struct FeeView: View {
4444
variableValue: 0.33
4545
)
4646
Text(
47-
" Low Priority - \(viewModel.recommendedFees?.hourFee ?? 1)"
47+
" Low \(viewModel.recommendedFees?.hourFee ?? 1)"
4848
)
4949
}
5050
.tag(1)
@@ -54,7 +54,7 @@ struct FeeView: View {
5454
variableValue: 0.66
5555
)
5656
Text(
57-
" Med Priority - \(viewModel.recommendedFees?.halfHourFee ?? 1)"
57+
" Medium • \(viewModel.recommendedFees?.halfHourFee ?? 1)"
5858
)
5959
}
6060
.tag(2)
@@ -64,7 +64,7 @@ struct FeeView: View {
6464
variableValue: 1.0
6565
)
6666
Text(
67-
" High Priority - \(viewModel.recommendedFees?.fastestFee ?? 1)"
67+
" High \(viewModel.recommendedFees?.fastestFee ?? 1)"
6868
)
6969
}
7070
.tag(3)
@@ -108,7 +108,7 @@ struct FeeView: View {
108108

109109
}
110110
.padding()
111-
.navigationTitle("Fees")
111+
.navigationTitle("Fee Priority")
112112
.task {
113113
await viewModel.getFees()
114114
}

0 commit comments

Comments
 (0)