fix: 关注按钮状态异常
This commit is contained in:
@ -180,7 +180,9 @@ class ProfilePanel extends StatelessWidget {
|
|||||||
Obx(
|
Obx(
|
||||||
() => Expanded(
|
() => Expanded(
|
||||||
child: TextButton(
|
child: TextButton(
|
||||||
onPressed: () => ctr.actionRelationMod(),
|
onPressed: () => loadingStatus
|
||||||
|
? null
|
||||||
|
: ctr.actionRelationMod(),
|
||||||
style: TextButton.styleFrom(
|
style: TextButton.styleFrom(
|
||||||
foregroundColor: ctr.attribute.value == -1
|
foregroundColor: ctr.attribute.value == -1
|
||||||
? Colors.transparent
|
? Colors.transparent
|
||||||
|
|||||||
Reference in New Issue
Block a user