now ios and android firebase use works again

This commit is contained in:
2023-05-10 18:29:35 +02:00
parent 989b494f6d
commit cbf5dd4138
-2
View File
@@ -118,10 +118,8 @@ class _GenericListState extends State<GenericList> {
@override @override
void initState() { void initState() {
super.initState(); super.initState();
// Enable persistence // Enable persistence
firestore.enablePersistence(); firestore.enablePersistence();
// Enable network // Enable network
firestore.settings = firestore.settings =
const Settings(cacheSizeBytes: Settings.CACHE_SIZE_UNLIMITED); const Settings(cacheSizeBytes: Settings.CACHE_SIZE_UNLIMITED);