Skip to content

Commit

Permalink
Merge pull request #779 from atsign-foundation/feat/fetch-contacts-co…
Browse files Browse the repository at this point in the history
…rrection

fix: fixed passing on flag fetchContacts
  • Loading branch information
Sardar1208 authored Dec 28, 2023
2 parents 4479b9a + ad5cb66 commit 0f9e858
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 0f9e858

Please sign in to comment.