Refactor Manage Repeater button to close dialog before opening login

This commit is contained in:
zjs81
2026-01-11 11:17:23 -07:00
parent f5be9b9691
commit ffbfd1a40c
+1 -1
View File
@@ -17,7 +17,6 @@ import '../widgets/quick_switch_bar.dart';
import 'channels_screen.dart'; import 'channels_screen.dart';
import 'chat_screen.dart'; import 'chat_screen.dart';
import 'contacts_screen.dart'; import 'contacts_screen.dart';
//import 'repeater_hub_screen.dart';
import '../widgets/repeater_login_dialog.dart'; import '../widgets/repeater_login_dialog.dart';
import 'repeater_hub_screen.dart'; import 'repeater_hub_screen.dart';
import 'settings_screen.dart'; import 'settings_screen.dart';
@@ -620,6 +619,7 @@ class _MapScreenState extends State<MapScreen> {
if (contact.type == advTypeRepeater) if (contact.type == advTypeRepeater)
TextButton( TextButton(
onPressed: () { onPressed: () {
Navigator.pop(context);
_showRepeaterLogin(context, contact); _showRepeaterLogin(context, contact);
}, },
child: const Text('Manage Repeater'), child: const Text('Manage Repeater'),