Added a basic neighbours screen for repeaters

This commit is contained in:
Winston Lowe
2026-01-18 11:17:47 -08:00
parent dba639abdc
commit 04a713bb76
30 changed files with 1075 additions and 13 deletions
+22 -1
View File
@@ -5,6 +5,7 @@ import 'repeater_status_screen.dart';
import 'repeater_cli_screen.dart';
import 'repeater_settings_screen.dart';
import 'telemetry_screen.dart';
import 'neighbours_screen.dart';
class RepeaterHubScreen extends StatelessWidget {
final Contact repeater;
@@ -145,12 +146,32 @@ class RepeaterHubScreen extends StatelessWidget {
),
const SizedBox(height: 12),
// Settings button
_buildManagementCard(
context,
icon: Icons.group,
title: l10n.repeater_neighbours,
subtitle: l10n.repeater_neighboursSubtitle,
color: Colors.orange,
onTap: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => NeighboursScreen(
repeater: repeater,
password: password,
),
),
);
},
),
const SizedBox(height: 12),
// Settings button
_buildManagementCard(
context,
icon: Icons.settings,
title: l10n.repeater_settings,
subtitle: l10n.repeater_settingsSubtitle,
color: Colors.orange,
color: Colors.deepOrange,
onTap: () {
Navigator.push(
context,