From 0d18309583741c31218a256b41253add6082908e Mon Sep 17 00:00:00 2001 From: Kima Date: Sun, 11 Feb 2024 22:26:01 +0100 Subject: [PATCH] maps launcher working --- .../lib/pages/home/live_card/live_card.dart | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/filcnaplo_mobile_ui/lib/pages/home/live_card/live_card.dart b/filcnaplo_mobile_ui/lib/pages/home/live_card/live_card.dart index 38762a7..8bbf065 100755 --- a/filcnaplo_mobile_ui/lib/pages/home/live_card/live_card.dart +++ b/filcnaplo_mobile_ui/lib/pages/home/live_card/live_card.dart @@ -110,23 +110,6 @@ class LiveCardStateA extends State { 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(