Skip to content

Commit

Permalink
fix: fixed passing on flag fetchContacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Sardar1208 committed Dec 27, 2023
1 parent 4479b9a commit ad5cb66
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ import 'package:at_contacts_flutter/services/contact_service.dart';

/// Function to initialise contacts Service
Future<void> initializeContactsService(
{rootDomain = 'root.atsign.org', rootPort = 64}) async {
await ContactService().initContactsService(rootDomain, rootPort);
{rootDomain = 'root.atsign.org',
rootPort = 64,
bool fetchContacts = true}) async {
await ContactService()
.initContactsService(rootDomain, rootPort, fetchContacts: fetchContacts);
}

/// Function call from app to dispose stream controllers used in the package
Expand Down

0 comments on commit ad5cb66

Please sign in to comment.