fix: 关注按钮状态异常

This commit is contained in:
guozhigq
2024-04-05 22:19:45 +08:00
parent fb26d35bb0
commit 53f266dcb8

View File

@ -180,7 +180,9 @@ class ProfilePanel extends StatelessWidget {
Obx(
() => Expanded(
child: TextButton(
onPressed: () => ctr.actionRelationMod(),
onPressed: () => loadingStatus
? null
: ctr.actionRelationMod(),
style: TextButton.styleFrom(
foregroundColor: ctr.attribute.value == -1
? Colors.transparent