Browse Source

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

hezihao 7 tháng trước cách đây
mục cha
commit
77c0287698

+ 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,