mobile: remove icons on received files (#629)

This commit is contained in:
JRoberts
2022-05-10 12:15:46 +04:00
committed by GitHub
parent 3cd8f8f7dd
commit 01467769bf
2 changed files with 2 additions and 2 deletions

View File

@@ -132,7 +132,7 @@ fun CIFileView(
fileIcon(innerIcon = Icons.Outlined.PriorityHigh, color = WarningOrange)
CIFileStatus.RcvAccepted -> fileIcon(innerIcon = Icons.Outlined.MoreHoriz)
CIFileStatus.RcvTransfer -> progressIndicator()
CIFileStatus.RcvComplete -> fileIcon(innerIcon = Icons.Outlined.ArrowDownward)
CIFileStatus.RcvComplete -> fileIcon()
CIFileStatus.RcvCancelled -> fileIcon(innerIcon = Icons.Outlined.Close)
}
} else {

View File

@@ -102,7 +102,7 @@ struct CIFileView: View {
}
case .rcvAccepted: fileIcon("doc.fill", innerIcon: "ellipsis", innerIconSize: 12)
case .rcvTransfer: ProgressView().frame(width: 30, height: 30)
case .rcvComplete: fileIcon("arrow.down.doc.fill", innerIconSize: 10)
case .rcvComplete: fileIcon("doc.fill")
case .rcvCancelled: fileIcon("doc.fill", innerIcon: "xmark", innerIconSize: 10)
}
} else {