mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
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:
co-authored by
Claude Opus 4.8
parent
4a1fe60ec3
commit
49544f0a20
@@ -1,7 +1,7 @@
|
||||
# OOTT ToDo list
|
||||
|
||||
- [x] Add linting to CLAUDE.md for both Rust and Dart
|
||||
- [ ] Review and document the release process
|
||||
- [x] Review and document the release process
|
||||
- [ ] Add support for push notifications to the app (iOS and Android)
|
||||
- [ ] Review the README.md 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(),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user