fix(home): drop the version badge from the app bar

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
qlionbleusam
2026-09-21 11:12:19 +02:00
co-authored by Claude Opus 5
parent a4252ea269
commit 247d2b0de6
-26
View File
@@ -187,37 +187,11 @@ class _HomeScreenState extends State<HomeScreen> {
Widget build(BuildContext context) {
final isDark = Theme.of(context).brightness == Brightness.dark;
final primaryColor = Theme.of(context).colorScheme.primary;
final textSecondary = isDark ? AppTheme.darkTextSecondary : AppTheme.lightTextSecondary;
return Scaffold(
extendBody: true,
appBar: AppBar(
titleSpacing: 16,
leading: Padding(
padding: const EdgeInsets.only(left: 16),
child: Center(
child: Container(
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 4),
decoration: BoxDecoration(
color: (isDark ? Colors.white : Colors.black).withValues(alpha: 0.06),
borderRadius: BorderRadius.circular(8),
border: Border.all(
color: isDark ? AppTheme.darkBorder : AppTheme.lightBorder,
),
),
child: Text(
'v1.0.3',
style: TextStyle(
fontSize: 11,
fontWeight: FontWeight.w700,
color: textSecondary,
letterSpacing: 0.5,
),
),
),
),
),
leadingWidth: 72,
title: Row(
mainAxisSize: MainAxisSize.min,
children: [