Make the status screen scrollable to avoid bottom overflow

The status screen was a non-scrolling Column, so it overflowed
whenever the offline banner consumed vertical space or the viewport
was too short to fit all scanner cards. Wrap it in a
SingleChildScrollView, matching the other screens.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
rzuasti
2026-06-02 16:58:25 -04:00
co-authored by Claude Opus 4.8
parent 4a1fe60ec3
commit 49544f0a20
2 changed files with 18 additions and 16 deletions
+17 -15
View File
@@ -11,21 +11,23 @@ class StatusScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text('Status', style: Theme.of(context).textTheme.headlineMedium),
const SizedBox(height: 20),
const ArpScannerCard(),
const SizedBox(height: 8),
const MdnsScannerCard(),
const SizedBox(height: 8),
const SsdpScannerCard(),
const SizedBox(height: 8),
const DhcpScannerCard(),
const SizedBox(height: 8),
const SnmpScannerCard(),
],
return SingleChildScrollView(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text('Status', style: Theme.of(context).textTheme.headlineMedium),
const SizedBox(height: 20),
const ArpScannerCard(),
const SizedBox(height: 8),
const MdnsScannerCard(),
const SizedBox(height: 8),
const SsdpScannerCard(),
const SizedBox(height: 8),
const DhcpScannerCard(),
const SizedBox(height: 8),
const SnmpScannerCard(),
],
),
);
}
}