From 8153fde3b762929ee4e6626beae456a428c1daca Mon Sep 17 00:00:00 2001 From: ZHR007 Date: Sat, 31 Jan 2026 17:10:26 +0800 Subject: [PATCH] no message --- lib/controller/mine/mine_controller.dart | 6 ++++-- lib/pages/setting/match_task_page.dart | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/controller/mine/mine_controller.dart b/lib/controller/mine/mine_controller.dart index e6d838d..70093da 100644 --- a/lib/controller/mine/mine_controller.dart +++ b/lib/controller/mine/mine_controller.dart @@ -8,6 +8,7 @@ import 'package:dating_touchme_app/pages/mine/my_wallet_page.dart'; import 'package:dating_touchme_app/pages/mine/real_name_page.dart'; import 'package:dating_touchme_app/pages/mine/rose_page.dart'; import 'package:dating_touchme_app/pages/mine/user_help_center_page.dart'; +import 'package:dating_touchme_app/pages/setting/match_league_page.dart'; import 'package:dating_touchme_app/pages/setting/match_spread_page.dart'; import 'package:dating_touchme_app/pages/setting/match_task_page.dart'; import 'package:flutter/material.dart'; @@ -37,7 +38,7 @@ class MineController extends GetxController { } void registerMatch(int type) async { - if (GlobalData().userData!.auditProfilePhoto != null) { + if (!matchmakerFlag.value && GlobalData().userData!.auditProfilePhoto != null) { showGeneralDialog( context: Get.context!, pageBuilder: (BuildContext buildContext, Animation animation, @@ -61,7 +62,8 @@ class MineController extends GetxController { return; } if(type == 1){ - await Get.to(() => MatchSpreadPage()); + // await Get.to(() => MatchSpreadPage()); + Get.to(() => MatchLeaguePage()); } else if(type == 2){ Get.to(() => MatchTaskPage()); } diff --git a/lib/pages/setting/match_task_page.dart b/lib/pages/setting/match_task_page.dart index e2234b1..de80dbd 100644 --- a/lib/pages/setting/match_task_page.dart +++ b/lib/pages/setting/match_task_page.dart @@ -150,7 +150,7 @@ class TaskItem extends StatelessWidget { child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - TDText(item.subTaskName, style: TextStyle(color: Color(0xFF333333), fontSize: 16.w)), + TDText(item.subTaskDesc, style: TextStyle(color: Color(0xFF333333), fontSize: 16.w)), SizedBox(height: 4.w), TDProgress( type: TDProgressType.linear,