fix: 关注按钮状态异常

This commit is contained in:
guozhigq
2024-04-05 22:19:45 +08:00
parent 247f6ee0a7
commit 0d0e0b9adb

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