Update desktop_setting_page.dart

This commit is contained in:
qinsheng13141981-afk 2026-06-20 18:09:14 +07:00 committed by GitHub
commit a034f6be0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -76,11 +76,9 @@ class DesktopSettingPage extends StatefulWidget {
if (!bind.isIncomingOnly()) SettingsTabKey.display,
if (!isWeb && !bind.isIncomingOnly() && bind.pluginFeatureIsEnabled())
SettingsTabKey.plugin,
if (!bind.isDisableAccount()) SettingsTabKey.account,
if (isWindows &&
bind.mainGetBuildinOption(key: kOptionHideRemotePrinterSetting) != 'Y')
SettingsTabKey.printer,
SettingsTabKey.about,
];
DesktopSettingPage({Key? key, required this.initialTabkey}) : super(key: key);