Page Install. Tooltip, icon, https for outgoing url.

This commit is contained in:
grummbeer 2023-06-05 08:55:00 +02:00
parent a04a36d9b0
commit ed1535ac7b

View File

@ -206,14 +206,20 @@ class _InstallPageBodyState extends State<_InstallPageBody>
), ),
), ),
), ),
GestureDetector( InkWell(
onTap: () => launchUrlString('http://rustdesk.com/privacy'), hoverColor: Colors.transparent,
child: Row( onTap: () => launchUrlString('https://rustdesk.com/privacy'),
children: [ child: Tooltip(
Text(translate('End-user license agreement'), message: 'https://rustdesk.com/privacy',
child: Row(children: [
Icon(Icons.launch_outlined, size: 16)
.marginOnly(right: 5),
Text(
translate('End-user license agreement'),
style: const TextStyle( style: const TextStyle(
decoration: TextDecoration.underline)) decoration: TextDecoration.underline),
], )
]),
)).marginOnly(top: 2 * em), )).marginOnly(top: 2 * em),
Row(children: [Text(translate('agreement_tip'))]) Row(children: [Text(translate('agreement_tip'))])
.marginOnly(top: em), .marginOnly(top: em),