tolaptop
This commit is contained in:
@@ -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(() {});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user