Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-09-05 20:55:52 +08:00
parent 224bd88473
commit 5bf09b98f4
15 changed files with 401 additions and 340 deletions

View File

@@ -20,10 +20,9 @@ class FollowController extends GetxController with GetTickerProviderStateMixin {
void onInit() {
super.onInit();
int ownerMid = Accounts.main.mid;
mid = Get.parameters['mid'] != null
? int.parse(Get.parameters['mid']!)
: ownerMid;
isOwner = ownerMid == mid;
final mid = Get.parameters['mid'];
this.mid = mid != null ? int.parse(mid) : ownerMid;
isOwner = ownerMid == this.mid;
name = Get.parameters['name'] ?? Get.find<AccountService>().name.value;
if (isOwner) {
queryFollowUpTags();