Skip to content

Commit

Permalink
Merge pull request #213 from sparcs-kaist/feat/decorate-last-item
Browse files Browse the repository at this point in the history
feat: decorate last item
  • Loading branch information
thomaskim1130 authored Aug 20, 2024
2 parents 735d4b9 + 03b9b45 commit 6613144
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions lib/pages/post_list_show_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -498,15 +498,17 @@ class _PostListShowPageState extends State<PostListShowPage>
return SizedBox(
height: 50,
child: Center(
child: _isLastItem //마지막 페이지 도달 시
? Text(
LocaleKeys.postListShowPage_lastItem
.tr(),
style: const TextStyle(
color: ColorsInfo.newara),
)
: const LoadingIndicator(),
),
child: currentPage > 10
? _isLastItem //마지막 페이지 도달 시
? Text(
LocaleKeys
.postListShowPage_lastItem
.tr(),
style: const TextStyle(
color: ColorsInfo.newara),
)
: const LoadingIndicator()
: null),
);
} else {
// 말머리 필터가 '전체'가 아닌 경우 (학교에게 전합니다 게시판은 아래에서 처리)
Expand Down

0 comments on commit 6613144

Please sign in to comment.