Skip to content

Commit

Permalink
fixed important bug
Browse files Browse the repository at this point in the history
  • Loading branch information
c22dev committed Dec 18, 2023
1 parent 81812f7 commit f816e02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Binary file not shown.
5 changes: 5 additions & 0 deletions Geranium/Cleaner/CleanerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ struct CleanerView: View {
.toggleStyle(checkboxiOS())
.padding(2)
.onAppear {
progressAmount = 0
safariCacheSize = 0
GlobalCacheSize = 0
OTACacheSize = 0
progressAmount = 0
// mess
calculateDirectorySizeAsync(url: URL(fileURLWithPath: logCachesPath)) { size in
GlobalCacheSize += size
Expand Down

0 comments on commit f816e02

Please sign in to comment.