diff --git a/lib/views/profilemgrview.dart b/lib/views/profilemgrview.dart index 64c86de..06b469b 100644 --- a/lib/views/profilemgrview.dart +++ b/lib/views/profilemgrview.dart @@ -84,7 +84,7 @@ class _ProfileMgrViewState extends State { subtitle: Text(profile.onion), onTap: () { setState(() { - var selectProfileC = Provider.of(context).library.lookup>("SelectProfile"); + var selectProfileC = Provider.of(context, listen: false).library.lookup>("SelectProfile"); // ignore: non_constant_identifier_names final SelectProfile = selectProfileC.asFunction();