diff --git a/Tarnax/App.swift b/Tarnax/App.swift index 6f05980..5f63655 100644 --- a/Tarnax/App.swift +++ b/Tarnax/App.swift @@ -144,12 +144,12 @@ struct TorrentRow: View { var body: some View { VStack(alignment: .leading, spacing: 10) { (dynamicTypeSize.isAccessibilitySize ? AnyLayout(VStackLayout(alignment: .leading, spacing: 6)) : AnyLayout(HStackLayout(alignment: .top))) { - Image(systemName: torrent.complete ? "checkmark.circle.fill" : "arrow.down.circle.fill").foregroundStyle(torrent.complete ? .green : .indigo).font(.title2) + Image(systemName: torrent.complete ? "checkmark.circle.fill" : "arrow.down.circle.fill").foregroundStyle(torrent.complete ? .green : .yellow).font(.title2) Text(torrent.name).font(.headline).lineLimit(dynamicTypeSize.isAccessibilitySize ? nil : 2) if !dynamicTypeSize.isAccessibilitySize { Spacer() } Text(torrent.progress, format: .percent.precision(.fractionLength(1))).font(.subheadline.monospacedDigit()).foregroundStyle(.secondary) } - ProgressView(value: torrent.complete ? 1 : min(max(torrent.progress, 0), 1)).tint(torrent.complete ? .green : .indigo).accessibilityLabel("Download progress") + ProgressView(value: torrent.complete ? 1 : min(max(torrent.progress, 0), 1)).tint(torrent.complete ? .green : .yellow).accessibilityLabel("Download progress") (dynamicTypeSize.isAccessibilitySize ? AnyLayout(VStackLayout(alignment: .leading, spacing: 6)) : AnyLayout(HStackLayout())) { Label(bytes(torrent.dlspeed) + "/s", systemImage: "arrow.down").accessibilityLabel("Download speed").accessibilityValue(bytes(torrent.dlspeed) + " per second") Label(bytes(torrent.upspeed) + "/s", systemImage: "arrow.up").accessibilityLabel("Upload speed").accessibilityValue(bytes(torrent.upspeed) + " per second") diff --git a/Tarnax/Details.swift b/Tarnax/Details.swift index 46a3c23..8a63b91 100644 --- a/Tarnax/Details.swift +++ b/Tarnax/Details.swift @@ -98,7 +98,7 @@ struct DetailView: View { ForEach(files) { file in VStack(alignment: .leading, spacing: 6) { Text(file.name).font(.subheadline) - ProgressView(value: file.progress).tint(file.progress >= 1 ? .green : .indigo) + ProgressView(value: file.progress).tint(file.progress >= 1 ? .green : .yellow) HStack { Text(bytes(file.size)).font(.caption).foregroundStyle(.secondary) Spacer()