about/info translations, version in settings

This commit is contained in:
stopflock
2025-10-01 21:15:42 -05:00
parent 6569ea9f57
commit 1007a88dd2
4 changed files with 74 additions and 1 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ const double kAddPinYOffset = 0.0;
// Client name and version for OSM uploads ("created_by" tag)
const String kClientName = 'DeFlock';
const String kClientVersion = '1.0.0';
const String kClientVersion = '1.0.1';
// Development/testing features - set to false for production builds
const bool kEnableDevelopmentModes = false; // Set to false to hide sandbox/simulate modes and force production mode
+13
View File
@@ -73,6 +73,19 @@ class SettingsScreen extends StatelessWidget {
subtitle: locService.t('settings.aboutSubtitle'),
onTap: () => Navigator.pushNamed(context, '/settings/about'),
),
const Divider(),
// Version display
Padding(
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
child: Text(
'Version: $kClientVersion',
style: Theme.of(context).textTheme.bodySmall?.copyWith(
color: Theme.of(context).textTheme.bodySmall?.color?.withOpacity(0.6),
),
textAlign: TextAlign.center,
),
),
],
),
),