feat: synchronisation mode deconnecte fin chat et stats

This commit is contained in:
2025-08-31 18:21:20 +02:00
parent f5bef999df
commit 96af94ad13
129 changed files with 125731 additions and 110375 deletions

View File

@@ -0,0 +1,24 @@
// Stub pour les plateformes non-web
class Window {
Navigator? get navigator => null;
CacheStorage? get caches => null;
}
class Navigator {
ServiceWorkerContainer? get serviceWorker => null;
}
class ServiceWorkerContainer {
Future<List<ServiceWorkerRegistration>>? getRegistrations() => null;
}
class ServiceWorkerRegistration {
Future<bool> unregister() => Future.value(false);
}
class CacheStorage {
Future<List<String>> keys() => Future.value([]);
Future<bool> delete(String name) => Future.value(false);
}
final Window window = Window();