fix Provider bug with reloading message panes

This commit is contained in:
erinn 2021-03-17 12:26:20 -07:00
parent 1ad7a607cf
commit 950e7edb38
1 changed files with 1 additions and 2 deletions

View File

@ -53,8 +53,7 @@ class _ContactRowState extends State<ContactRow> {
builder: (BuildContext builderContext) {
return MultiProvider(
providers: [
ChangeNotifierProvider<ProfileInfoState>(
create: (_) => Provider.of<ProfileInfoState>(context)),
Provider.value(value: Provider.of<ProfileInfoState>(context)),
],
child: MessageView(conversationHandle: handle),
);