refactor: 코드베이스 정리 및 에러 처리 개선

- API 클라이언트 및 인증 인터셉터 에러 처리 강화
- 의존성 주입 실패 시에도 앱 실행 가능하도록 개선
- 사용하지 않는 레거시 UI 컴포넌트 및 화면 제거
- pubspec.yaml 의존성 업데이트

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
JiWoong Sul
2025-07-25 18:15:21 +09:00
parent 71b7b7f40b
commit ad2c699ff7
39 changed files with 193 additions and 4134 deletions

View File

@@ -39,7 +39,12 @@ class Environment {
const String.fromEnvironment('ENVIRONMENT', defaultValue: dev);
final envFile = _getEnvFile();
await dotenv.load(fileName: envFile);
try {
await dotenv.load(fileName: envFile);
} catch (e) {
print('Failed to load env file $envFile: $e');
// .env 파일이 없어도 계속 진행
}
}
/// 환경별 파일 경로 반환