@@ -171,7 +171,7 @@ class AuthNotifier extends StateNotifier<AuthState> {
|
||||
}
|
||||
|
||||
final authRepositoryProvider = Provider<AuthRepository>((ref) {
|
||||
final storage = laverieSecureStorage;
|
||||
const storage = laverieSecureStorage;
|
||||
|
||||
// Token lu depuis le stockage sécurisé (évite la dépendance circulaire avec authProvider).
|
||||
return AuthRepository(
|
||||
|
||||
@@ -12,7 +12,7 @@ class MachineStatusLegend extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Wrap(
|
||||
return const Wrap(
|
||||
spacing: 12,
|
||||
runSpacing: 6,
|
||||
children: [
|
||||
|
||||
@@ -155,7 +155,7 @@ class _EstablishmentCard extends StatelessWidget {
|
||||
children: [
|
||||
Icon(Icons.grid_view_rounded, size: 14, color: AppColors.primary.withValues(alpha: 0.8)),
|
||||
const SizedBox(width: 4),
|
||||
Text(
|
||||
const Text(
|
||||
'Voir les machines',
|
||||
style: TextStyle(
|
||||
color: AppColors.primary,
|
||||
|
||||
@@ -51,7 +51,7 @@ class ActiveWashProgressCard extends StatelessWidget {
|
||||
Text(wash.machineName, style: Theme.of(context).textTheme.titleMedium),
|
||||
Text(
|
||||
p.phaseLabel,
|
||||
style: TextStyle(
|
||||
style: const TextStyle(
|
||||
color: AppColors.machineRunning,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontSize: 13,
|
||||
|
||||
Reference in New Issue
Block a user