mod: 添加玄学dispose

This commit is contained in:
orz12
2024-03-22 02:16:28 +08:00
parent e2fc0644e5
commit 8e17b0da2b

View File

@@ -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,
)), )),