feat: implement matchedVia tracking for receipt items and enhance user alias management
Test Suite / test (24.15.0) (push) Has been cancelled

This commit is contained in:
Nils-Johan Gynther
2026-05-07 13:57:41 +02:00
parent f7446cc2df
commit d92272e554
9 changed files with 287 additions and 8 deletions
@@ -7,6 +7,7 @@ import '../../../core/l10n/l10n.dart';
import '../../auth/data/auth_providers.dart';
import '../data/profile_repository.dart';
import '../domain/user_profile.dart';
import 'user_aliases_screen.dart';
enum _ProfileTab { profile }
@@ -276,6 +277,18 @@ class _ProfileScreenState extends ConsumerState<ProfileScreen> {
const SizedBox(height: 16),
_buildActiveTabContent(context, theme),
const SizedBox(height: 24),
ListTile(
leading: const Icon(Icons.link_outlined),
title: const Text('Mina kvittoalias'),
subtitle: const Text('Visa och hantera sparade alias från kvittoimport'),
trailing: const Icon(Icons.chevron_right),
onTap: () => Navigator.of(context).push(
MaterialPageRoute(builder: (_) => const UserAliasesScreen()),
),
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(12)),
tileColor: Theme.of(context).colorScheme.surfaceContainerHighest.withOpacity(0.4),
),
const SizedBox(height: 24),
SizedBox(
width: double.infinity,
child: OutlinedButton.icon(