From 02f3cb0077aa5a861d77b5c34c38849a036a4111 Mon Sep 17 00:00:00 2001 From: stopflock Date: Tue, 7 Oct 2025 23:00:59 -0500 Subject: [PATCH] center help links on about page, bump version --- lib/screens/about_screen.dart | 8 +++++++- pubspec.yaml | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/screens/about_screen.dart b/lib/screens/about_screen.dart index a87abd8..690e1cd 100644 --- a/lib/screens/about_screen.dart +++ b/lib/screens/about_screen.dart @@ -33,28 +33,32 @@ class AboutScreen extends StatelessWidget { body: SingleChildScrollView( padding: const EdgeInsets.all(16), child: Column( - crossAxisAlignment: CrossAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.stretch, children: [ Text( locService.t('about.title'), style: Theme.of(context).textTheme.headlineSmall?.copyWith( fontWeight: FontWeight.bold, ), + textAlign: TextAlign.start, ), const SizedBox(height: 16), Text( locService.t('about.description'), style: Theme.of(context).textTheme.bodyLarge, + textAlign: TextAlign.start, ), const SizedBox(height: 16), Text( locService.t('about.features'), style: Theme.of(context).textTheme.bodyLarge, + textAlign: TextAlign.start, ), const SizedBox(height: 16), Text( locService.t('about.initiative'), style: Theme.of(context).textTheme.bodyLarge, + textAlign: TextAlign.start, ), const SizedBox(height: 24), Text( @@ -75,6 +79,8 @@ class AboutScreen extends StatelessWidget { Widget _buildHelpLinks(BuildContext context) { return Column( + mainAxisSize: MainAxisSize.min, + crossAxisAlignment: CrossAxisAlignment.stretch, children: [ _buildLinkText(context, 'About DeFlock', 'https://deflock.me/about'), const SizedBox(height: 8), diff --git a/pubspec.yaml b/pubspec.yaml index 561cb53..ea3466c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: deflockapp description: Map public surveillance infrastructure with OpenStreetMap publish_to: "none" -version: 1.2.0+3 # The thing after the + is the google versionCode +version: 1.2.1+3 # The thing after the + is the google versionCode environment: sdk: ">=3.5.0 <4.0.0" # oauth2_client 4.x needs Dart 3.5+