This commit is contained in:
ImBenji
2024-02-28 18:06:22 +00:00
parent de98a2b40b
commit 8b8cb0412f
9 changed files with 520 additions and 147 deletions

View File

@@ -334,11 +334,19 @@ class _Variant extends StatelessWidget {
child: const Text("Cancel"),
),
ElevatedButton(
onPressed: () {
onPressed: () async {
Navigator.of(context).pop();
LiveInformation liveInformation = LiveInformation();
liveInformation.setRouteVariant(variant);
liveInformation.queueAnnouncement(
await liveInformation.getDestinationAnnouncement(
variant,
sendToServer: true,
)
);
tfL_Dataset_TestState.setState(() {});
},