mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
Add mDNS scanner status to Status and Home screens
Add an mDNS Scanner status card to the Status screen mirroring the ARP card, and replace the ARP card on the Home screen with a combined Status card that summarizes both scanners in one line each. Extract the shared duration formatting helper into utils/duration_formatter.dart. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
c6fdf9e181
commit
75f597bfe4
@@ -1,7 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../widgets/arp_scanner_card.dart';
|
||||
import '../widgets/device_summary_card.dart';
|
||||
import '../widgets/scanners_status_card.dart';
|
||||
import 'notifications_list.dart';
|
||||
|
||||
const _twoColumnBreakpoint = 700.0;
|
||||
@@ -33,7 +33,7 @@ class HomeScreen extends StatelessWidget {
|
||||
children: [
|
||||
DeviceSummaryCard(),
|
||||
SizedBox(height: 16),
|
||||
ArpScannerCard(),
|
||||
ScannersStatusCard(),
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -54,7 +54,7 @@ class HomeScreen extends StatelessWidget {
|
||||
SliverToBoxAdapter(
|
||||
child: Padding(
|
||||
padding: EdgeInsets.only(top: 16, bottom: 20),
|
||||
child: ArpScannerCard(),
|
||||
child: ScannersStatusCard(),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user