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(
onTap: () => launchUrlString('http://rustdesk.com/privacy'),
child: Row(
children: [
Text(translate('End-user license agreement'),
style: const TextStyle(
decoration: TextDecoration.underline))
],
InkWell(
hoverColor: Colors.transparent,
onTap: () => launchUrlString('https://rustdesk.com/privacy'),
child: Tooltip(
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(
decoration: TextDecoration.underline),
)
]),
)).marginOnly(top: 2 * em),
Row(children: [Text(translate('agreement_tip'))])
.marginOnly(top: em),