4/22/1
This commit is contained in:
@@ -166,12 +166,13 @@ class _PassengerCallPageState extends State<PassengerCallPage> {
|
||||
Widget _status() {
|
||||
String statusText;
|
||||
|
||||
if (!_isJoined)
|
||||
statusText = 'Join a channel';
|
||||
else if (_remoteUid == null)
|
||||
statusText = 'Waiting for a remote user to join...';
|
||||
else
|
||||
if (!_isJoined) {
|
||||
statusText = 'Join a channel'.tr;
|
||||
} else if (_remoteUid == null) {
|
||||
statusText = 'Waiting for a remote user to join...'.tr;
|
||||
} else {
|
||||
statusText = 'Connected to remote user, uid:$_remoteUid';
|
||||
}
|
||||
|
||||
return Text(
|
||||
statusText,
|
||||
|
||||
Reference in New Issue
Block a user