fix Provider bug with reloading message panes
This commit is contained in:
parent
1ad7a607cf
commit
950e7edb38
|
@ -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),
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue