File tree 6 files changed +12
-32
lines changed
6 files changed +12
-32
lines changed Original file line number Diff line number Diff line change 318
318
}
319
319
},
320
320
"Wallet" : {
321
+ "extractionState" : "stale",
321
322
"localizations" : {
322
323
"fr" : {
323
324
"stringUnit" : {
Original file line number Diff line number Diff line change @@ -54,10 +54,6 @@ struct SendView: View {
54
54
)
55
55
. padding ( )
56
56
. keyboardType ( . numberPad)
57
- Rectangle ( )
58
- . frame ( height: 1 )
59
- . foregroundColor ( . secondary)
60
- . padding ( . horizontal)
61
57
}
62
58
63
59
VStack {
@@ -74,10 +70,6 @@ struct SendView: View {
74
70
. padding ( )
75
71
. truncationMode ( . middle)
76
72
. lineLimit ( 1 )
77
- Rectangle ( )
78
- . frame ( height: 1 )
79
- . foregroundColor ( . secondary)
80
- . padding ( . horizontal)
81
73
}
82
74
83
75
VStack {
Original file line number Diff line number Diff line change @@ -15,33 +15,21 @@ struct TabHomeView: View {
15
15
Color ( uiColor: UIColor . systemBackground)
16
16
17
17
TabView {
18
-
19
18
WalletView ( viewModel: . init( ) )
20
19
. tabItem {
21
- Label (
22
- " Wallet " ,
23
- systemImage: " bitcoinsign "
24
- )
20
+ Image ( systemName: " bitcoinsign " )
25
21
}
26
-
27
22
ReceiveView ( viewModel: . init( ) )
28
23
. tabItem {
29
- Label (
30
- " Receive " ,
31
- systemImage: " arrow.down "
32
- )
24
+ Image ( systemName: " arrow.down " )
33
25
}
34
-
35
26
SendView ( viewModel: . init( ) )
36
27
. tabItem {
37
- Label (
38
- " Send " ,
39
- systemImage: " arrow.up "
40
- )
28
+ Image ( systemName: " arrow.up " )
41
29
}
42
-
43
30
}
44
- . tint ( . orange)
31
+ . tint ( . primary)
32
+
45
33
}
46
34
47
35
}
Original file line number Diff line number Diff line change @@ -42,9 +42,9 @@ struct WalletTransactionListView: View {
42
42
. font ( . largeTitle)
43
43
. symbolRenderingMode ( . palette)
44
44
. foregroundStyle (
45
- Color ( UIColor . systemBackground) ,
46
45
transaction. confirmationTime != nil
47
- ? Color . bitcoinOrange : Color . secondary
46
+ ? Color . bitcoinOrange : Color . secondary,
47
+ Color . gray. opacity ( 0.05 )
48
48
)
49
49
VStack ( alignment: . leading, spacing: 5 ) {
50
50
Text ( transaction. txid)
@@ -56,15 +56,14 @@ struct WalletTransactionListView: View {
56
56
. foregroundColor ( . primary)
57
57
Text (
58
58
transaction. confirmationTime? . timestamp. toDate ( ) . formatted (
59
- date: . abbreviated,
60
- time: Date . FormatStyle. TimeStyle. shortened
59
+ . dateTime. day ( ) . month ( ) . hour ( ) . minute ( )
61
60
)
62
61
?? " Unconfirmed "
63
62
)
64
63
}
65
64
. foregroundColor ( . secondary)
66
- . font ( . caption2 )
67
- . padding ( . trailing, 10 .0)
65
+ . font ( . caption )
66
+ . padding ( . trailing, 30 .0)
68
67
Spacer ( )
69
68
Text (
70
69
transaction. sent > 0
Original file line number Diff line number Diff line change 2
2
3
3
[ ![ License] ( https://img.shields.io/badge/license-MIT%2FApache--2.0-blue.svg )] ( https://github.com/reez/BDKSwiftExampleWallet/blob/main/LICENSE )
4
4
5
- An example iOS app using [ BDK ] ( https://github.com/bitcoindevkit )
5
+ An example iOS app using [ Bitcoin Dev Kit ] ( https://github.com/bitcoindevkit ) (BDK )
6
6
7
7
<img src =" Docs/bitcoin-screen.png " alt =" Screenshot " width =" 236 " height =" 511 " >
8
8
You can’t perform that action at this time.
0 commit comments