From f6d493eb4ee0494f8f101c34374569e34b5508db Mon Sep 17 00:00:00 2001 From: streaper2 Date: Thu, 29 Jan 2026 20:34:40 +0100 Subject: [PATCH] =?UTF-8?q?d=C3=A9sactivation=20des=20bouttons=20d'analyse?= =?UTF-8?q?=20d'impact=20en=20attendant=20la=20correction=20des=20algo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/features/analysis/analysis_screen.dart | 61 +++++++++++----------- 1 file changed, 31 insertions(+), 30 deletions(-) diff --git a/lib/features/analysis/analysis_screen.dart b/lib/features/analysis/analysis_screen.dart index d5b69fb..7a2832a 100644 --- a/lib/features/analysis/analysis_screen.dart +++ b/lib/features/analysis/analysis_screen.dart @@ -442,7 +442,7 @@ class _AnalysisScreenContentState extends State<_AnalysisScreenContent> { _buildActionButtons(context, provider), // Large spacing at the bottom to trigger the state change - const SizedBox(height: 100), + const SizedBox(height: 50), ], ), ) @@ -831,36 +831,37 @@ class _AnalysisScreenContentState extends State<_AnalysisScreenContent> { ), const SizedBox(height: 12), ] else ...[ + // désactiver le temps de l'amelioration du scripts d'auto-detection // Auto-detect buttons row - Row( - children: [ - Expanded( - child: ElevatedButton.icon( - onPressed: () => _showAutoDetectDialog(context, provider), - icon: const Icon(Icons.auto_fix_high), - label: const Text('Auto-Detection'), - style: ElevatedButton.styleFrom( - backgroundColor: AppTheme.primaryColor, - foregroundColor: Colors.white, - padding: const EdgeInsets.symmetric(vertical: 12), - ), - ), - ), - const SizedBox(width: 12), - Expanded( - child: ElevatedButton.icon( - onPressed: () => setState(() => _isSelectingReferences = true), - icon: const Icon(Icons.touch_app), - label: const Text('Par Reference'), - style: ElevatedButton.styleFrom( - backgroundColor: Colors.deepPurple, - foregroundColor: Colors.white, - padding: const EdgeInsets.symmetric(vertical: 12), - ), - ), - ), - ], - ), + // Row( + // children: [ + // Expanded( + // child: ElevatedButton.icon( + // onPressed: () => _showAutoDetectDialog(context, provider), + // icon: const Icon(Icons.auto_fix_high), + // label: const Text('Auto-Detection'), + // style: ElevatedButton.styleFrom( + // backgroundColor: AppTheme.primaryColor, + // foregroundColor: Colors.white, + // padding: const EdgeInsets.symmetric(vertical: 12), + // ), + // ), + // ), + // const SizedBox(width: 12), + // Expanded( + // child: ElevatedButton.icon( + // onPressed: () => setState(() => _isSelectingReferences = true), + // icon: const Icon(Icons.touch_app), + // label: const Text('Par Reference'), + // style: ElevatedButton.styleFrom( + // backgroundColor: Colors.deepPurple, + // foregroundColor: Colors.white, + // padding: const EdgeInsets.symmetric(vertical: 12), + // ), + // ), + // ), + // ], + // ), const SizedBox(height: 12), ], // Manual actions