flutter: Do not need to uninstall App to disable developer mode
This commit is contained in:
parent
a350fd9641
commit
f886c72112
|
@ -470,11 +470,6 @@ class _GameSettingsPageState extends State<GameSettingsPage> {
|
|||
}
|
||||
|
||||
setDeveloperMode(bool value) async {
|
||||
if (Config.developerMode && value == false) {
|
||||
print("$tag You must uninstall me to disable developer mode!");
|
||||
return;
|
||||
}
|
||||
|
||||
setState(() {
|
||||
Config.developerMode = value;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue