Skip to content

Commit

Permalink
Merge pull request #185 from Infomaniak/fix-files-count
Browse files Browse the repository at this point in the history
fix: Temporarily removed the remember to display the correct files count
  • Loading branch information
sirambd authored Nov 14, 2024
2 parents 204b639 + 2574432 commit 1256930
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ import com.infomaniak.swisstransfer.ui.utils.PreviewLightAndDark
@Composable
fun TransferInfo(transfer: TransferUi) {

val filesCount by remember { derivedStateOf { transfer.files.count() } }
val filesCount = transfer.files.count()
val downloadedCount by remember { derivedStateOf { transfer.downloadLimit - transfer.downloadLeft } }

Row(verticalAlignment = Alignment.CenterVertically) {
Expand Down

0 comments on commit 1256930

Please sign in to comment.