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: [
light,
Text(translate('Ready'), style: textStyle),
Text(', ', style: textStyle),
svcIsUsingPublicServer.value
? InkWell(
onTap: onUsePublicServerGuide,
child: Text(
translate('setup_server_tip'),
style: TextStyle(
decoration: TextDecoration.underline, fontSize: fontSize),
),
)
: Offstage()
Offstage(
offstage: !svcIsUsingPublicServer.value,
child: Row(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text(', ', style: textStyle),
InkWell(
onTap: onUsePublicServerGuide,
child: Text(
translate('setup_server_tip'),
style: TextStyle(
decoration: TextDecoration.underline,
fontSize: fontSize),
),
)
],
))
],
);
}