Bugfix when resizing app when menu is open

This commit is contained in:
Sarah Jamie Lewis 2022-06-09 13:49:15 -07:00
parent 3c85b8f59e
commit c3848553d7
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class _MessageViewState extends State<MessageView> {
@override
Widget build(BuildContext context) {
// After leaving a conversation the selected conversation is set to null...
if (Provider.of<ContactInfoState>(context).profileOnion == "") {
if (Provider.of<ContactInfoState>(context, listen: false).profileOnion == "") {
return Card(child: Center(child: Text(AppLocalizations.of(context)!.addContactFirst)));
}