mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: 添加玄学dispose
This commit is contained in:
@@ -56,6 +56,8 @@ class _MemberPageState extends State<MemberPage>
|
|||||||
@override
|
@override
|
||||||
void dispose() {
|
void dispose() {
|
||||||
_extendNestCtr.removeListener(() {});
|
_extendNestCtr.removeListener(() {});
|
||||||
|
_extendNestCtr.dispose();
|
||||||
|
appbarStream.close();
|
||||||
super.dispose();
|
super.dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -361,7 +363,9 @@ class _MemberPageState extends State<MemberPage>
|
|||||||
child: Text("UID ${_memberController.mid}",
|
child: Text("UID ${_memberController.mid}",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: Theme.of(context)
|
color: Theme.of(context)
|
||||||
.colorScheme.secondary.withOpacity(0.5),
|
.colorScheme
|
||||||
|
.secondary
|
||||||
|
.withOpacity(0.5),
|
||||||
fontSize: 12,
|
fontSize: 12,
|
||||||
// fontWeight: FontWeight.w200,
|
// fontWeight: FontWeight.w200,
|
||||||
)),
|
)),
|
||||||
|
|||||||
Reference in New Issue
Block a user