hide-help-cards

This commit is contained in:
rustdesk 2024-07-18 09:46:44 +08:00
parent b68d7a3054
commit 5a8c8cbf7c

View File

@ -410,6 +410,9 @@ class _DesktopHomePageState extends State<DesktopHomePage>
}
Future<Widget> buildHelpCards() async {
if (bind.mainGetLocalOption(key: 'hide-help-cards') == 'Y') {
return const SizedBox();
}
if (!bind.isCustomClient() &&
updateUrl.isNotEmpty &&
!isCardClosed &&