remove comma when self-host server

This commit is contained in:
csf 2022-09-30 16:15:21 +08:00
parent 8e9f1bed64
commit ff9c3bccb5

View File

@ -288,17 +288,23 @@ class _ConnectionPageState extends State<ConnectionPage>
children: [ children: [
light, light,
Text(translate('Ready'), style: textStyle), Text(translate('Ready'), style: textStyle),
Offstage(
offstage: !svcIsUsingPublicServer.value,
child: Row(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text(', ', style: textStyle), Text(', ', style: textStyle),
svcIsUsingPublicServer.value InkWell(
? InkWell(
onTap: onUsePublicServerGuide, onTap: onUsePublicServerGuide,
child: Text( child: Text(
translate('setup_server_tip'), translate('setup_server_tip'),
style: TextStyle( style: TextStyle(
decoration: TextDecoration.underline, fontSize: fontSize), decoration: TextDecoration.underline,
fontSize: fontSize),
), ),
) )
: Offstage() ],
))
], ],
); );
} }