allow sending messages when other party isnt logged in
This commit is contained in:
parent
5a8814b3dd
commit
8b56745ccf
|
|
@ -40,18 +40,18 @@ class ChatInputRow extends StatelessWidget {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!controller.room.otherPartyCanReceiveMessages) {
|
// if (!controller.room.otherPartyCanReceiveMessages) {
|
||||||
return Center(
|
// return Center(
|
||||||
child: Padding(
|
// child: Padding(
|
||||||
padding: const EdgeInsets.all(12.0),
|
// padding: const EdgeInsets.all(12.0),
|
||||||
child: Text(
|
// child: Text(
|
||||||
L10n.of(context).otherPartyNotLoggedIn,
|
// L10n.of(context).otherPartyNotLoggedIn,
|
||||||
style: theme.textTheme.bodySmall,
|
// style: theme.textTheme.bodySmall,
|
||||||
textAlign: TextAlign.center,
|
// textAlign: TextAlign.center,
|
||||||
),
|
// ),
|
||||||
),
|
// ),
|
||||||
);
|
// );
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue