mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-02-12 16:52:51 +00:00
Fix display issue when refreshing offline areas
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user