refactoring
This commit is contained in:
@@ -22,7 +22,7 @@ class FinanceWorkflowRemoteDatasource {
|
||||
|
||||
/// Headers HTTP avec authentification
|
||||
Future<Map<String, String>> _getHeaders() async {
|
||||
final token = await secureStorage.read(key: 'access_token');
|
||||
final token = await secureStorage.read(key: 'kc_access');
|
||||
return {
|
||||
'Content-Type': 'application/json',
|
||||
'Accept': 'application/json',
|
||||
|
||||
@@ -184,7 +184,7 @@ class _BudgetsListView extends StatelessWidget {
|
||||
children: [
|
||||
Icon(
|
||||
Icons.account_balance_wallet_outlined,
|
||||
size: 80,
|
||||
size: 48,
|
||||
color: AppColors.textSecondaryLight.withOpacity(0.5),
|
||||
),
|
||||
const SizedBox(height: SpacingTokens.lg),
|
||||
@@ -206,7 +206,7 @@ class _BudgetsListView extends StatelessWidget {
|
||||
children: [
|
||||
Icon(
|
||||
Icons.error_outline,
|
||||
size: 80,
|
||||
size: 48,
|
||||
color: AppColors.error.withOpacity(0.5),
|
||||
),
|
||||
const SizedBox(height: SpacingTokens.lg),
|
||||
|
||||
@@ -161,7 +161,7 @@ class _PendingApprovalsView extends StatelessWidget {
|
||||
children: [
|
||||
Icon(
|
||||
Icons.error_outline,
|
||||
size: 80,
|
||||
size: 48,
|
||||
color: AppColors.error.withOpacity(0.5),
|
||||
),
|
||||
const SizedBox(height: SpacingTokens.lg),
|
||||
@@ -194,7 +194,7 @@ class _PendingApprovalsView extends StatelessWidget {
|
||||
children: [
|
||||
Icon(
|
||||
Icons.check_circle_outline,
|
||||
size: 80,
|
||||
size: 48,
|
||||
color: AppColors.success.withOpacity(0.5),
|
||||
),
|
||||
const SizedBox(height: SpacingTokens.lg),
|
||||
|
||||
Reference in New Issue
Block a user