Skip to content

Commit

Permalink
fix: 프로필 카드 circleAvatar 및 더보기 버튼, memberAPI get 메서드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
changhwan77 committed Mar 5, 2024
1 parent 2d98886 commit e426b07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions lib/features/profile/services/proifle_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ class ProfileService {
Response? response;
if (memberId != null) {
response = await _dio.get(
'${StringConstants.baseUrl}/member/{memberId}',
queryParameters: {
'memberId': memberId,
},
'${StringConstants.baseUrl}/member/$memberId',
);
} else {
response = await _dio.get('${StringConstants.baseUrl}/my-page');
Expand Down
4 changes: 2 additions & 2 deletions lib/features/tutis/widgets/tuti_widgets/tuti_card_mobile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class _TuTiCardMobileState extends ConsumerState<TuTiCardMobile> {
children: [
_buildKeywordsWrap(member),
TuTiButton(
padding: EdgeInsets.symmetric(vertical: 8.h, horizontal: 20.w),
padding: EdgeInsets.symmetric(vertical: 4.h, horizontal: 15.w),
title: '더보기',
onPressed: () async {
String? authToken = await CustomTokenManager.getToken();
Expand Down Expand Up @@ -279,7 +279,7 @@ class _TuTiCardMobileState extends ConsumerState<TuTiCardMobile> {
),
),
child: const CircleAvatar(
radius: 25,
radius: 20,
backgroundImage: AssetImage('assets/images/fruit.png'),
backgroundColor: Colors.transparent,
),
Expand Down

0 comments on commit e426b07

Please sign in to comment.