forked from firka/student-legacy
maps launcher working
This commit is contained in:
parent
120215d3b8
commit
0d18309583
@ -110,23 +110,6 @@ class LiveCardStateA extends State<LiveCard> {
|
||||
onTap: () async {
|
||||
await MapsLauncher.launchQuery(
|
||||
'${_userProvider.student?.school.city ?? ''} ${_userProvider.student?.school.name ?? ''}');
|
||||
// if (Platform.isIOS &&
|
||||
// (await MapLauncher.isMapAvailable(MapType.apple) ?? false)) {
|
||||
// MapLauncher.showMarker(
|
||||
// coords: Coords(0, 0),
|
||||
// title:
|
||||
// '${_userProvider.student?.school.city ?? ''} ${_userProvider.student?.school.name ?? ''}',
|
||||
// mapType: MapType.apple,
|
||||
// );
|
||||
// } else if (Platform.isAndroid &&
|
||||
// (await MapLauncher.isMapAvailable(MapType.google) ?? false)) {
|
||||
// MapLauncher.showMarker(
|
||||
// coords: Coords(0, 0),
|
||||
// title:
|
||||
// '${_userProvider.student?.school.city ?? ''} ${_userProvider.student?.school.name ?? ''}',
|
||||
// mapType: MapType.google,
|
||||
// );
|
||||
// }
|
||||
},
|
||||
description: liveCard.nextLesson != null
|
||||
? Text.rich(
|
||||
|
Loading…
x
Reference in New Issue
Block a user