전역 구조 리팩터링 및 테스트 확장

This commit is contained in:
JiWoong Sul
2025-09-29 01:51:47 +09:00
parent c00c0c9ab2
commit fef7108479
70 changed files with 7709 additions and 3185 deletions

View File

@@ -255,7 +255,14 @@ class _PostalSearchDialogState extends State<_PostalSearchDialog> {
],
],
onRowTap: (index) {
navigator.pop(_results[index]);
if (_results.isEmpty) {
return;
}
final adjustedIndex = (index - 1).clamp(
0,
_results.length - 1,
);
navigator.pop(_results[adjustedIndex]);
},
emptyLabel: '검색 결과가 없습니다.',
),