PM updates, still need Battery to show up on periph screen and calibration/recalib stuff to work, but it should tomorrow

This commit is contained in:
2026-03-18 01:51:55 -05:00
parent ea0326394f
commit 80a2884077
8 changed files with 197 additions and 35 deletions

View File

@@ -233,7 +233,7 @@ class _DeviceSetupState extends State<DeviceSetup> {
bool ent = isEnterprise(network);
bool open = isOpen(network);
Map<String, String> creds = await showDialog(
Map<String, String>? creds = await showDialog(
context: context,
builder: (dialogContext) {
return StatefulBuilder(
@@ -309,6 +309,7 @@ class _DeviceSetupState extends State<DeviceSetup> {
}
);
if (creds == null) return;
if (creds["password"] == null && !open) return;
if (creds["uname"] == null && ent) return;
await transmitWiFiDetails(network["ssid"], network["auth"], creds);