mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-24 04:03:03 -04:00
Fixlint
This commit is contained in:
parent
ed2a619467
commit
39f65d2982
@ -30,12 +30,12 @@ struct DownloadTaskCell: View {
|
||||
|
||||
var body: some View {
|
||||
let progress: Progress = {
|
||||
let p = Progress(totalUnitCount: downloadState.total)
|
||||
p.completedUnitCount = downloadState.downloaded
|
||||
p.kind = .file
|
||||
p.fileTotalCount = 1
|
||||
p.fileOperationKind = .downloading
|
||||
return p
|
||||
let prog = Progress(totalUnitCount: downloadState.total)
|
||||
prog.completedUnitCount = downloadState.downloaded
|
||||
prog.kind = .file
|
||||
prog.fileTotalCount = 1
|
||||
prog.fileOperationKind = .downloading
|
||||
return prog
|
||||
}()
|
||||
VStack(spacing: 8) {
|
||||
if let zimFile = downloadTask.zimFile {
|
||||
|
Loading…
x
Reference in New Issue
Block a user