소스 검색

Merge remote-tracking branch 'origin/v1.0.0' into v1.0.0

hezihao 7 달 전
부모
커밋
77c0287698
2개의 변경된 파일2개의 추가작업 그리고 15개의 파일을 삭제
  1. 1 0
      lib/module/character_custom/character_custom_controller.dart
  2. 1 15
      lib/module/profile/profile_page.dart

+ 1 - 0
lib/module/character_custom/character_custom_controller.dart

@@ -274,5 +274,6 @@ class CharacterCustomController extends BaseController {
     hobbiesSelectLabels.clear();
     characterSelectLabels.clear();
     currentNameValue.value = "";
+    CharacterCustomListPage.start();
   }
 }

+ 1 - 15
lib/module/profile/profile_page.dart

@@ -367,21 +367,7 @@ class ProfilePage extends BasePage<ProfileController> {
             margin: EdgeInsets.only(bottom: 10.h),
             width: 78.w,
             height: 78.w,
-            decoration: ShapeDecoration(
-              color: gender == 1 ? const Color(0xFFB7B6FF) : null,
-              gradient:
-                  gender == 1
-                      ? null
-                      : const LinearGradient(
-                        begin: Alignment(0.5, 0),
-                        end: Alignment(0.5, 1.0),
-                        colors: [Color(0xFFEBE6FF), Color(0xFFFFE6FE)],
-                      ),
-              shape: RoundedRectangleBorder(
-                side: BorderSide(width: 1.5.w, color: Colors.white),
-                borderRadius: BorderRadius.circular(40.r),
-              ),
-            ),
+
             child: CircleAvatarWidget(
               image: Assets.images.iconKeyboardDefaultAvatar.provider(),
               imageUrl: imageUrl,