From 14bf3056de7ce0f1d7e8a78cb301b2c6752a17c6 Mon Sep 17 00:00:00 2001 From: 21pages Date: Fri, 8 Sep 2023 11:29:47 +0800 Subject: [PATCH] mobile privacy statement Signed-off-by: 21pages --- flutter/lib/mobile/pages/settings_page.dart | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/flutter/lib/mobile/pages/settings_page.dart b/flutter/lib/mobile/pages/settings_page.dart index e2120a05f..1cdfa9609 100644 --- a/flutter/lib/mobile/pages/settings_page.dart +++ b/flutter/lib/mobile/pages/settings_page.dart @@ -7,6 +7,7 @@ import 'package:get/get.dart'; import 'package:provider/provider.dart'; import 'package:settings_ui/settings_ui.dart'; import 'package:url_launcher/url_launcher.dart'; +import 'package:url_launcher/url_launcher_string.dart'; import '../../common.dart'; import '../../common/widgets/dialog.dart'; @@ -498,6 +499,12 @@ class _SettingsState extends State with WidgetsBindingObserver { child: Text(_fingerprint), ), leading: Icon(Icons.fingerprint)), + SettingsTile( + title: Text(translate("Privacy Statement")), + onPressed: (context) => + launchUrlString('https://rustdesk.com/privacy.html'), + leading: Icon(Icons.privacy_tip), + ) ], ), ],