Browse Source

fix proxiwash update loop

Arnaud Vergnet 6 months ago
parent
commit
20d5e790d0
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/screens/Proxiwash/ProxiwashScreen.tsx

+ 1
- 1
src/screens/Proxiwash/ProxiwashScreen.tsx View File

@@ -349,7 +349,7 @@ function ProxiwashScreen() {
349 349
         ...data.dryers,
350 350
         ...data.washers,
351 351
       ]);
352
-      if (cleanedList !== machinesWatched) {
352
+      if (cleanedList.length !== machinesWatched.length) {
353 353
         updatePreferences(PreferenceKeys.proxiwashWatchedMachines, cleanedList);
354 354
       }
355 355
       return [

Loading…
Cancel
Save