Skip to content

Commit

Permalink
Merge pull request #88 from sparcs-kaist/design/remove-noti-settings
Browse files Browse the repository at this point in the history
SettingPage 알림 제거
  • Loading branch information
skykhs3 authored Feb 16, 2024
2 parents 6ddf447 + a8fd3e9 commit 622c081
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 33 deletions.
62 changes: 31 additions & 31 deletions lib/pages/setting_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -211,36 +211,36 @@ class SettingPageState extends State<SettingPage> {
),
),
const SizedBox(height: 24),
// 알림 아이콘 및 '알림' 텍스트
SizedBox(
width: MediaQuery.of(context).size.width - 50,
child: Row(
children: [
SvgPicture.asset(
'assets/icons/notification.svg',
width: 34,
height: 34,
),
Text(
'setting_page.noti'.tr(),
style: const TextStyle(
fontSize: 18,
fontWeight: FontWeight.w700,
),
),
],
),
),
const SizedBox(height: 7),
// 댓글, 대댓글 설정 UI의 border 설정
BorderBoxes(94, switchItems[1]),
const SizedBox(height: 10),
// 인기글 관련 설정 UI의 border 설정
BorderBoxes(94, switchItems[2]),
const SizedBox(height: 5),
// 인기 공지글 제공 시간 문구
TextInfo('setting_page.hot_info'.tr()),
const SizedBox(height: 10),
// // 알림 아이콘 및 '알림' 텍스트
// SizedBox(
// width: MediaQuery.of(context).size.width - 50,
// child: Row(
// children: [
// SvgPicture.asset(
// 'assets/icons/notification.svg',
// width: 34,
// height: 34,
// ),
// Text(
// 'setting_page.noti'.tr(),
// style: const TextStyle(
// fontSize: 18,
// fontWeight: FontWeight.w700,
// ),
// ),
// ],
// ),
// ),
// const SizedBox(height: 7),
// // 댓글, 대댓글 설정 UI의 border 설정
// BorderBoxes(94, switchItems[1]),
// const SizedBox(height: 10),
// // 인기글 관련 설정 UI의 border 설정
// BorderBoxes(94, switchItems[2]),
// const SizedBox(height: 5),
// // 인기 공지글 제공 시간 문구
// TextInfo('setting_page.hot_info'.tr()),
// const SizedBox(height: 10),
// 차단 아이콘, '차단' 텍스트
SizedBox(
width: MediaQuery.of(context).size.width - 50,
Expand Down Expand Up @@ -301,7 +301,7 @@ class SettingPageState extends State<SettingPage> {
),
const SizedBox(height: 5),
// 유저 차단 기능 설명 문구
TextInfo('setting_page.block_howto'.tr()),
TextInfo('유저 차단은 게시글의 더보기 기능에서 하실 수 있습니다.\n하루에 최대 10번만 변경 가능합니다.'),
const SizedBox(height: 20),
// 로그아웃 버튼 UI (border도 포함)
Container(
Expand Down
4 changes: 3 additions & 1 deletion lib/pages/user_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,9 @@ class _UserPageState extends State<UserPage>
curPage[tabType.index] = newMaxPage;
setCurCount(tabType);
},
child: SizedBox(height: 62, child: PostPreview(model: curPost)));
child: Padding(
padding: const EdgeInsets.symmetric(vertical: 11),
child: PostPreview(model: curPost)));
},
separatorBuilder: (context, index) {
return Container(
Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/dialogs.dart
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ class _BlockedUserDialogState extends State<BlockedUserDialog> {
size: const Size.fromRadius(20),
child: Image.network(
fit: BoxFit.cover,
blockedUser.user.profile.nickname ??
blockedUser.user.profile.picture ??
"null",
// 정상적인 이미지 로드에 실패했을 경우
// warning 아이콘 표시하기
Expand Down

0 comments on commit 622c081

Please sign in to comment.