From 68a424ad0c73b7048f22a71df6ba44e02f5f969b Mon Sep 17 00:00:00 2001 From: Daniil Vinogradov Date: Sat, 23 Nov 2024 12:58:27 +0100 Subject: [PATCH] Fix seeding state subtitle info --- .../Screens/TorrentList/Cells/TorrentListItemViewModel.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iTorrent/Screens/TorrentList/Cells/TorrentListItemViewModel.swift b/iTorrent/Screens/TorrentList/Cells/TorrentListItemViewModel.swift index b61d02dc..dc3c09cc 100644 --- a/iTorrent/Screens/TorrentList/Cells/TorrentListItemViewModel.swift +++ b/iTorrent/Screens/TorrentList/Cells/TorrentListItemViewModel.swift @@ -72,6 +72,8 @@ private extension TorrentHandle.Snapshot { if state == .downloading { text += " - ↓ \(downloadRate.bitrateToHumanReadable)/s" text += " - \(timeRemains)" + } else if state == .seeding { + text += " - ↑ \(uploadRate.bitrateToHumanReadable)/s" } return text