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
void initState() {
super.initState();
// Enable persistence
firestore.enablePersistence();
// Enable network
firestore.settings =
const Settings(cacheSizeBytes: Settings.CACHE_SIZE_UNLIMITED);