now ios and android firebase use works again
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user