Add connections dashboard

This commit is contained in:
世界
2024-10-06 21:41:07 +08:00
parent c223f50ffb
commit 9dadf5f648
17 changed files with 670 additions and 25 deletions
@@ -51,7 +51,7 @@ public struct EditProfileView: View {
}
if profile.type == .remote {
Section("Status") {
FormTextItem("Last Updated", profile.lastUpdatedString)
FormTextItem("Last Updated", profile.lastUpdated!.myFormat)
}
}
Section("Action") {
@@ -334,7 +334,7 @@ public struct ProfileView: View {
Text(profile.name)
if profile.type == .remote {
Spacer(minLength: 4)
Text("Last Updated: \(profile.origin.lastUpdatedString)").font(.caption)
Text("Last Updated: \(profile.origin.lastUpdated!.myFormat)").font(.caption)
}
}
HStack {