developerMode: Do not enter feedback when tapping Feedback menu item

This commit is contained in:
Calcitem 2021-07-01 22:14:11 +08:00
parent c203033512
commit d4b1918473
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ class _NavigationHomeScreenState extends State<NavigationHomeScreen> {
setState(() {
screenView = PersonalizationSettingsPage();
});
} else if (drawerIndex == DrawerIndex.feedback) {
} else if (drawerIndex == DrawerIndex.feedback && !Config.developerMode) {
setState(() {
if (Platform.isWindows) {
print("flutter_email_sender does not support Windows.");