mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-18 09:36:52 +08:00
@@ -38,12 +38,18 @@ class FansPage extends StatefulWidget {
|
||||
|
||||
class _FansPageState extends FollowTypePageState<FansPage> {
|
||||
@override
|
||||
late final FansController controller = Get.put(
|
||||
FansController(widget.showName),
|
||||
tag: Get.arguments?['mid']?.toString() ?? Utils.generateRandomString(8),
|
||||
);
|
||||
late final FansController controller;
|
||||
late final flag = widget.onSelect == null && controller.isOwner;
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
controller = Get.put(
|
||||
FansController(widget.showName),
|
||||
tag: Get.arguments?['mid']?.toString() ?? Utils.generateRandomString(8),
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
PreferredSizeWidget? get appBar => widget.showName
|
||||
? AppBar(
|
||||
|
||||
Reference in New Issue
Block a user