1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-14 14:42:25 +00:00

fix: refresh not working in overview mode

This commit is contained in:
frozturk
2026-01-11 19:38:56 +01:00
parent 54be4e30a2
commit 08c577d24a
2 changed files with 15 additions and 5 deletions

View File

@@ -519,10 +519,6 @@ func measureOverviewSize(path string) (int64, error) {
excludePath = filepath.Join(home, "Library")
}
if cached, err := loadStoredOverviewSize(path); err == nil && cached > 0 {
return cached, nil
}
if duSize, err := getDirectorySizeFromDuWithExclude(path, excludePath); err == nil && duSize > 0 {
_ = storeOverviewSize(path, duSize)
return duSize, nil