forked from cwtch.im/cwtch-ui
Bugfix when resizing app when menu is open
This commit is contained in:
parent
3c85b8f59e
commit
c3848553d7
|
@ -81,7 +81,7 @@ class _MessageViewState extends State<MessageView> {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
// After leaving a conversation the selected conversation is set to null...
|
// 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)));
|
return Card(child: Center(child: Text(AppLocalizations.of(context)!.addContactFirst)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue