Skip to content

Commit

Permalink
Fix: 스크린 연동 버튼 수정 #54
Browse files Browse the repository at this point in the history
  • Loading branch information
lhaerim committed Dec 21, 2024
1 parent c063d8b commit b3a095f
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions outfoot/lib/screens/edit_profile_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -278,14 +278,18 @@ class _EditProfileState extends State<EditProfile> {
height: 45.994,
decoration: _boxDecoration(mainBrownColor),
child: Center(
child: Text(
'변경하기',
textAlign: TextAlign.center,
style: _textStyle(
14.0, FontWeight.w600, lightMainColor, -0.28),
),
child: TextButton(
onPressed: _isLoading ? null : _updateProfile, // 로딩 중 버튼 비활성화
child: _isLoading
? CircularProgressIndicator(color: Colors.white) // 로딩 표시 추가
: Text(
'변경하기',
textAlign: TextAlign.center,
style: _textStyle(14.0, FontWeight.w600, lightMainColor, -0.28),
),
),
),
),
],
),
),
Expand Down

0 comments on commit b3a095f

Please sign in to comment.