Refactor Dashboard traffic cards with line charts
This commit is contained in:
@@ -8,8 +8,9 @@ public struct ConnectionsCard: View {
|
||||
public init() {}
|
||||
|
||||
public var body: some View {
|
||||
DashboardCardView(title: String(localized: "Connections"), isHalfWidth: true) {
|
||||
DashboardCardView(title: "", isHalfWidth: true) {
|
||||
VStack(alignment: .leading, spacing: 8) {
|
||||
DashboardCardHeader(icon: "link.circle.fill", title: "Connections")
|
||||
if ApplicationLibrary.inPreview {
|
||||
DashboardCardLine(String(localized: "Inbound"), "34")
|
||||
DashboardCardLine(String(localized: "Outbound"), "28")
|
||||
|
||||
Reference in New Issue
Block a user