Fix display issue when refreshing offline areas

This commit is contained in:
stopflock
2025-09-29 21:32:39 -05:00
parent 2b26bf9188
commit caa20140b4

View File

@@ -290,7 +290,12 @@ class OfflineAreaService {
// Set area to downloading state
area.status = OfflineAreaStatus.downloading;
area.progress = 0.0;
area.tilesDownloaded = 0;
// Only reset tile count if we're actually refreshing tiles
if (refreshTiles) {
area.tilesDownloaded = 0;
}
await saveAreasToDisk();
try {