backup: 사용하지 않는 파일 삭제 전 복구 지점
- 전체 371개 파일 중 82개 미사용 파일 식별 - Phase 1: 33개 파일 삭제 예정 (100% 안전) - Phase 2: 30개 파일 삭제 검토 예정 - Phase 3: 19개 파일 수동 검토 예정 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:shadcn_ui/shadcn_ui.dart';
|
||||
import '../../core/constants/app_constants.dart';
|
||||
import '../../data/models/rent_dto.dart';
|
||||
import '../../injection_container.dart';
|
||||
import '../common/widgets/pagination.dart';
|
||||
@@ -37,10 +38,6 @@ class _RentListScreenState extends State<RentListScreen> {
|
||||
await _controller.loadRents();
|
||||
}
|
||||
|
||||
Future<void> _refresh() async {
|
||||
await _controller.loadRents(refresh: true);
|
||||
}
|
||||
|
||||
void _showCreateDialog() {
|
||||
showDialog(
|
||||
context: context,
|
||||
@@ -313,19 +310,6 @@ class _RentListScreenState extends State<RentListScreen> {
|
||||
);
|
||||
}
|
||||
|
||||
Color _getStatusColor(String? status) {
|
||||
switch (status) {
|
||||
case '진행중':
|
||||
return Colors.blue;
|
||||
case '종료':
|
||||
return Colors.green;
|
||||
case '예약':
|
||||
return Colors.orange;
|
||||
default:
|
||||
return Colors.grey;
|
||||
}
|
||||
}
|
||||
|
||||
/// 상태 배지 빌더
|
||||
Widget _buildStatusChip(String? status) {
|
||||
switch (status) {
|
||||
@@ -486,7 +470,7 @@ class _RentListScreenState extends State<RentListScreen> {
|
||||
return Pagination(
|
||||
totalCount: controller.totalRents,
|
||||
currentPage: controller.currentPage,
|
||||
pageSize: 20,
|
||||
pageSize: AppConstants.rentPageSize,
|
||||
onPageChanged: (page) => controller.loadRents(page: page),
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user