From e5f7ca1560171a5eca072b19145dca24b361cfa7 Mon Sep 17 00:00:00 2001 From: LilleBRG Date: Tue, 17 Sep 2024 09:14:31 +0200 Subject: [PATCH] guidebook done --- Mobile/.gitignore | 3 ++- Mobile/lib/touristguidebook.dart | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Mobile/.gitignore b/Mobile/.gitignore index d90f52b..6b4559a 100644 --- a/Mobile/.gitignore +++ b/Mobile/.gitignore @@ -43,4 +43,5 @@ app.*.map.json /android/app/release environment.json -node_modules \ No newline at end of file +node_modules +.env \ No newline at end of file diff --git a/Mobile/lib/touristguidebook.dart b/Mobile/lib/touristguidebook.dart index 17fd777..75d9346 100644 --- a/Mobile/lib/touristguidebook.dart +++ b/Mobile/lib/touristguidebook.dart @@ -85,6 +85,7 @@ class _TouristGuideBookPageState extends State { padding: const EdgeInsets.symmetric(vertical: 8.0), child: Column( crossAxisAlignment: CrossAxisAlignment.start, + mainAxisAlignment: MainAxisAlignment.start, children: [ Text(title, style: TextStyle(fontSize: 18, fontWeight: FontWeight.bold)), SizedBox(height: 5), @@ -139,6 +140,9 @@ Widget build(BuildContext context) { child: Text('Get Guidebook'), ), if (_touristbook.isNotEmpty) ...[ + _buildTouristBookSection( + _selectedCountry!,"" + ), _buildTouristBookSection( "Introduction - People", _touristbook['introduction']?['people'] ?? 'No data',